summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorJames Letendre <James.Letendre@gmail.com>2020-12-14 12:46:03 -0500
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2021-02-02 20:52:13 +0000
commitc9a724829a202cfcb685eaaa7b4529e69acf3ff9 (patch)
treeeb3d61d359fbfdcb2e88d7998582bded6409e619 /lib/private
parente55862f2c846edd003401eb8744d9037a4d64534 (diff)
downloadnextcloud-server-c9a724829a202cfcb685eaaa7b4529e69acf3ff9.tar.gz
nextcloud-server-c9a724829a202cfcb685eaaa7b4529e69acf3ff9.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/private')
-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 6b469860de5..f23bcbc675d 100644
--- a/lib/private/Files/ObjectStore/S3ConnectionTrait.php
+++ b/lib/private/Files/ObjectStore/S3ConnectionTrait.php
@@ -104,8 +104,7 @@ trait S3ConnectionTrait {
$provider = CredentialProvider::memoize(
CredentialProvider::chain(
$this->paramCredentialProvider(),
- CredentialProvider::env(),
- CredentialProvider::instanceProfile()
+ CredentialProvider::defaultProvider()
)
);