Update S3Common.cpp

This commit is contained in:
Alexey Milovidov 2022-04-27 03:33:01 +03:00 committed by GitHub
parent 3c53cd42bb
commit e85c5679e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}