mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Update S3Common.cpp
This commit is contained in:
parent
3c53cd42bb
commit
e85c5679e9
@ -285,7 +285,7 @@ protected:
|
||||
|
||||
auto credentials_view = credentials_doc.View();
|
||||
access_key = credentials_view.GetString("AccessKeyId");
|
||||
LOG_TRACE(logger, "Successfully pulled credentials from EC2MetadataService with access key {}.", access_key);
|
||||
LOG_TRACE(logger, "Successfully pulled credentials from EC2MetadataService with access key.");
|
||||
|
||||
secret_key = credentials_view.GetString("SecretAccessKey");
|
||||
token = credentials_view.GetString("Token");
|
||||
@ -483,7 +483,7 @@ protected:
|
||||
Aws::Internal::STSCredentialsClient::STSAssumeRoleWithWebIdentityRequest request{session_name, role_arn, token};
|
||||
|
||||
auto result = client->GetAssumeRoleWithWebIdentityCredentials(request);
|
||||
LOG_TRACE(logger, "Successfully retrieved credentials.", result.creds.GetAWSAccessKeyId());
|
||||
LOG_TRACE(logger, "Successfully retrieved credentials.");
|
||||
credentials = result.creds;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user