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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to