jackye1995 commented on code in PR #6951: URL: https://github.com/apache/iceberg/pull/6951#discussion_r1120935454
########## aws/src/main/java/org/apache/iceberg/aws/AwsProperties.java: ########## @@ -1112,6 +1112,15 @@ public <T extends S3ClientBuilder> void applyS3SignerConfiguration(T builder) { } } + /** + * Get the AWS Credentials Provider based on the configured credential properties. + * + * @return credential provider + */ + AwsCredentialsProvider awsCredentialsProvider() { + return credentialsProvider(s3AccessKeyId, s3SecretAccessKey, s3SessionToken); Review Comment: I am thinking should we treat the signer more like an AWS client and have its own set of credential properties? It does not really have association with S3 access credentials and it does not make much sense to reuse those property values. -- 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-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org