SWJTU-ZhangLei commented on code in PR #49541:
URL: https://github.com/apache/doris/pull/49541#discussion_r2053579365


##########
fe/fe-core/src/main/java/org/apache/doris/common/util/S3Util.java:
##########
@@ -39,32 +40,103 @@
 import software.amazon.awssdk.regions.Region;
 import software.amazon.awssdk.services.s3.S3Client;
 import software.amazon.awssdk.services.s3.S3Configuration;
+import software.amazon.awssdk.services.sts.StsClient;
+import 
software.amazon.awssdk.services.sts.auth.StsAssumeRoleCredentialsProvider;
 
 import java.net.URI;
 import java.time.Duration;
 
 public class S3Util {
-
-    public static S3Client buildS3Client(URI endpoint, String region, 
CloudCredential credential,
-            boolean isUsePathStyle) {
-        AwsCredentialsProvider scp;
+    private static AwsCredentialsProvider 
getAwsCredencialsProvider(CloudCredential credential) {
+        //todo zhanglei

Review Comment:
   > what to do?
   
   In previous, i want to modify the orginal function 
`getAwsCredencialsProvider`, but now i just write a new function and don't 
modify the origin one, so the `todo` is finished



-- 
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