This is an automated email from the ASF dual-hosted git repository.
wyk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/asterixdb.git
The following commit(s) were added to refs/heads/master by this push:
new 986c9160c3 [ASTERIXDB-3309][OTH] Avoid using shared AWS
'DefaultCredentialsProvider'
986c9160c3 is described below
commit 986c9160c3c4bfb292af3c2f5d5a8e33639e37af
Author: Wail Alkowaileet <[email protected]>
AuthorDate: Fri Nov 10 15:16:24 2023 -0800
[ASTERIXDB-3309][OTH] Avoid using shared AWS 'DefaultCredentialsProvider'
- user model changes: no
- storage format changes: no
- interface changes: no
Details:
See ASTERIXDB-3309
Change-Id: I3958843b8ae804a772bf88f0597bb715a1b5dacf
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/17947
Reviewed-by: Wail Alkowaileet <[email protected]>
Reviewed-by: Murtadha Hubail <[email protected]>
Integration-Tests: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
---
.../java/org/apache/asterix/cloud/clients/aws/s3/S3ClientConfig.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/asterixdb/asterix-cloud/src/main/java/org/apache/asterix/cloud/clients/aws/s3/S3ClientConfig.java
b/asterixdb/asterix-cloud/src/main/java/org/apache/asterix/cloud/clients/aws/s3/S3ClientConfig.java
index c23e437346..bc13078a47 100644
---
a/asterixdb/asterix-cloud/src/main/java/org/apache/asterix/cloud/clients/aws/s3/S3ClientConfig.java
+++
b/asterixdb/asterix-cloud/src/main/java/org/apache/asterix/cloud/clients/aws/s3/S3ClientConfig.java
@@ -83,7 +83,7 @@ public final class S3ClientConfig {
}
public AwsCredentialsProvider createCredentialsProvider() {
- return anonymousAuth ? AnonymousCredentialsProvider.create() :
DefaultCredentialsProvider.create();
+ return anonymousAuth ? AnonymousCredentialsProvider.create() :
DefaultCredentialsProvider.builder().build();
}
public long getProfilerLogInterval() {