Merge pull request #4908 from MichaelEischer/improve-anonymous-s3

S3: Improve anonymous access
This commit is contained in:
Michael Eischer authored and GitHub committed 2024-07-10 20:19:23 +02:00
commit d8dbc71deb
4 files changed
+37 -8

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
Change: Disallow S3 anonymous authentication by default
When using the S3 backend with anonymous authentication, it continuously tried
to retrieve new authentication credentials, which caused bad performance.
Now, to use anonymous authentication, it is necessary to pass the option `-o
s3.unsafe-anonymous-auth=true` to restic.
It is temporarily possible to revert to the old behavior by setting the
environment variable `RESTIC_FEATURES=explicit-s3-anonymous-auth=false`. Note
that this feature flag will be removed in the next minor restic version.
https://github.com/restic/restic/issues/4707
https://github.com/restic/restic/pull/4908