danielcweeks commented on code in PR #6951:
URL: https://github.com/apache/iceberg/pull/6951#discussion_r1122473432
##########
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 pulled them out of AwsProperties and use different property names. Let me
know if this is closer to what you had in mind.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]