liaoxin01 commented on code in PR #53592:
URL: https://github.com/apache/doris/pull/53592#discussion_r2221762635
##########
fe/fe-core/src/main/java/org/apache/doris/datasource/property/storage/AbstractS3CompatibleProperties.java:
##########
@@ -168,6 +169,10 @@ public AwsCredentialsProvider getAwsCredentialsProvider() {
sessionToken));
}
}
+ // For anonymous access (no credentials required)
+ if (StringUtils.isBlank(getAccessKey()) &&
StringUtils.isBlank(getSecretKey())) {
+ return AnonymousCredentialsProvider.create();
+ }
Review Comment:
I moved the code to each own implementation, and COS/OBS/OSS also support
anonymous access.
--
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]