summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJames Letendre <James.Letendre@gmail.com>2020-12-14 12:46:03 -0500
committerJames Letendre <James.Letendre@gmail.com>2020-12-14 12:55:46 -0500
commit85aa77539b5dbbf74a56833f5d0d0b6815e612e1 (patch)
tree582efaf5931c6aa1d993150141c22c48d0aa09bf /lib
parent83607d227f07fdeea77af053bb82b0233de1ab49 (diff)
downloadnextcloud-server-85aa77539b5dbbf74a56833f5d0d0b6815e612e1.tar.gz
nextcloud-server-85aa77539b5dbbf74a56833f5d0d0b6815e612e1.zip
Resolves #24699, Support ES2 and ECS instance providers for S3 buckets
Signed-off-by: James Letendre <james.letendre@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/ObjectStore/S3ConnectionTrait.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/Files/ObjectStore/S3ConnectionTrait.php b/lib/private/Files/ObjectStore/S3ConnectionTrait.php
index c98c8a04cdf..158298e059f 100644
--- a/lib/private/Files/ObjectStore/S3ConnectionTrait.php
+++ b/lib/private/Files/ObjectStore/S3ConnectionTrait.php
@@ -103,8 +103,7 @@ trait S3ConnectionTrait {
$provider = CredentialProvider::memoize(
CredentialProvider::chain(
$this->paramCredentialProvider(),
- CredentialProvider::env(),
- CredentialProvider::instanceProfile()
+ CredentialProvider::defaultProvider()
)
);