Skip to content

Commit

Permalink
Fixed bug for no auth
Browse files Browse the repository at this point in the history
  • Loading branch information
GrigoriyPA committed Jul 19, 2024
1 parent 23d82aa commit 4b2264d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ydb/core/external_sources/object_storage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,8 @@ struct TObjectStorageExternalSource : public IExternalSource {
}
auto& saAuth = std::get<NAuth::TServiceAccount>(meta->Auth);
structuredTokenBuilder.SetServiceAccountIdAuth(saAuth.ServiceAccountId, saAuth.ServiceAccountIdSignature);
} else {
structuredTokenBuilder.SetNoAuth();
}

const NYql::TS3Credentials credentials(CredentialsFactory, structuredTokenBuilder.ToJson());
Expand Down

0 comments on commit 4b2264d

Please sign in to comment.