You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "stevenzwu (via GitHub)" <gi...@apache.org> on 2023/10/01 21:28:30 UTC
[GitHub] [iceberg] stevenzwu commented on a diff in pull request #8677: AWS: avoid static global credentials provider which doesn't play well with lifecycle management
stevenzwu commented on code in PR #8677:
URL: https://github.com/apache/iceberg/pull/8677#discussion_r1342190477
##########
aws/src/main/java/org/apache/iceberg/aws/AwsClientFactories.java:
##########
@@ -226,7 +226,7 @@ static AwsCredentialsProvider credentialsProvider(
AwsSessionCredentials.create(accessKeyId, secretAccessKey, sessionToken));
}
} else {
- return DefaultCredentialsProvider.create();
+ return DefaultCredentialsProvider.builder().build();
Review Comment:
@Kontinuation if we add the comment, let's add it to all the places
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org