diff options
author | Robin Appelman <robin@icewind.nl> | 2017-12-19 11:54:55 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2017-12-19 11:54:55 +0100 |
commit | 34ced4dd97a9c14975f6c5ff6bc3d6dbe463d64f (patch) | |
tree | a6666c1e4b8d34c07aafd3b0c8bf5fab34779102 /apps | |
parent | e550a3ddd8a391a25581302dc87d4877f6c53f0d (diff) | |
download | nextcloud-server-34ced4dd97a9c14975f6c5ff6bc3d6dbe463d64f.tar.gz nextcloud-server-34ced4dd97a9c14975f6c5ff6bc3d6dbe463d64f.zip |
add option to use legacy v2 auth with s3
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_external/lib/Lib/Backend/AmazonS3.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_external/lib/Lib/Backend/AmazonS3.php b/apps/files_external/lib/Lib/Backend/AmazonS3.php index c9759015121..5625805601c 100644 --- a/apps/files_external/lib/Lib/Backend/AmazonS3.php +++ b/apps/files_external/lib/Lib/Backend/AmazonS3.php @@ -53,6 +53,8 @@ class AmazonS3 extends Backend { ->setType(DefinitionParameter::VALUE_BOOLEAN), (new DefinitionParameter('use_path_style', $l->t('Enable Path Style'))) ->setType(DefinitionParameter::VALUE_BOOLEAN), + (new DefinitionParameter('legacy_auth', $l->t('Legacy (v2) authentication'))) + ->setType(DefinitionParameter::VALUE_BOOLEAN), ]) ->addAuthScheme(AccessKey::SCHEME_AMAZONS3_ACCESSKEY) ->setLegacyAuthMechanism($legacyAuth) |