Skip to content

Commit bd1dafe

Browse files
authored
Merge pull request #637 from nextcloud/s3-legacy-auth
document 'legacy_auth' option for s3
2 parents 8d295b3 + 56978c5 commit bd1dafe

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

admin_manual/configuration_files/external_storage/amazons3.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ the DNS infrastructure cannot be controlled. Ordinarily, requests will be
2929
made with ``http://bucket.hostname.domain/``, but with path style enabled,
3030
requests are made with ``http://hostname.domain/bucket`` instead.
3131

32+
**Legacy authentication** is only required for S3 servers that only implement version 2 authentication,
33+
on default version 4 authentication will be used.
34+
3235
See :doc:`../external_storage_configuration_gui` for additional mount
3336
options and information.
3437

admin_manual/configuration_files/primary_storage.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ The S3 backend mounts a bucket on an Amazon S3 Storage or compatible server into
8686
'use_ssl' => true,
8787
'region' => 'optional',
8888
// required for some non amazon s3 implementations
89-
'use_path_style'=>true
89+
'use_path_style' => true,
90+
'legacy_auth' => false
9091
),
9192
),
9293

@@ -100,6 +101,9 @@ but can be used with non-Amazon servers where the DNS infrastructure cannot be c
100101
requests will be made with http://bucket.hostname.domain/, but with path style enabled,
101102
requests are made with http://hostname.domain/bucket instead.
102103

104+
:code:`legacy_auth` is only required for S3 servers that only implement version 2 authentication,
105+
on default version 4 authentication will be used.
106+
103107
Multibucket Object Store
104108
---------------------------
105109

0 commit comments

Comments
 (0)