Skip to content

Commit 6814ac0

Browse files
authored
Merge pull request #27097 from nextcloud/backport/27040/stable21
[stable21] Avoid reading ~/.aws/config when using S3 provider
2 parents 885b0b3 + ede6714 commit 6814ac0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/private/Files/ObjectStore/S3ConnectionTrait.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ public function getConnection() {
121121
'use_path_style_endpoint' => isset($this->params['use_path_style']) ? $this->params['use_path_style'] : false,
122122
'signature_provider' => \Aws\or_chain([self::class, 'legacySignatureProvider'], ClientResolver::_default_signature_provider()),
123123
'csm' => false,
124+
'use_arn_region' => false,
124125
];
125126
if (isset($this->params['proxy'])) {
126127
$options['request.options'] = ['proxy' => $this->params['proxy']];

0 commit comments

Comments
 (0)