Skip to content

Commit

Permalink
Merge pull request #27040 from nextcloud/FlorentCoppint-master
Browse files Browse the repository at this point in the history
Avoid reading ~/.aws/config when using S3 provider
  • Loading branch information
MorrisJobke authored May 25, 2021
2 parents 3fa2437 + d4444f2 commit 333665b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/private/Files/ObjectStore/S3ConnectionTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ public function getConnection() {
'use_path_style_endpoint' => isset($this->params['use_path_style']) ? $this->params['use_path_style'] : false,
'signature_provider' => \Aws\or_chain([self::class, 'legacySignatureProvider'], ClientResolver::_default_signature_provider()),
'csm' => false,
'use_arn_region' => false,
];
if (isset($this->params['proxy'])) {
$options['request.options'] = ['proxy' => $this->params['proxy']];
Expand Down

0 comments on commit 333665b

Please sign in to comment.