Skip to content

Commit 3b49cff

Browse files
authored
Fix access to private backets (use correct auth info) in Dynamic List… (ydb-platform#3105)
1 parent abb47e8 commit 3b49cff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ydb/library/yql/providers/s3/provider/yql_s3_dq_integration.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ class TS3DqIntegration: public TDqIntegrationBase {
505505
fileQueueBatchObjectCountLimit,
506506
State_->Gateway,
507507
connect.Url,
508-
GetAuthInfo(State_->CredentialsFactory, connect.Token),
508+
GetAuthInfo(State_->CredentialsFactory, State_->Configuration->Tokens.at(cluster)),
509509
pathPattern,
510510
pathPatternVariant,
511511
NS3Lister::ES3PatternType::Wildcard

ydb/library/yql/providers/s3/provider/yql_s3_settings.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ struct TS3Settings {
3131
};
3232

3333
struct TS3ClusterSettings {
34-
TString Url, Token;
34+
TString Url;
3535
};
3636

3737
struct TS3Configuration : public TS3Settings, public NCommon::TSettingDispatcher {

0 commit comments

Comments
 (0)