S3 backend: accept AWS_SESSION_TOKEN

This commit is contained in:
denis.uzvik
2018-07-12 16:18:19 +03:00
parent 7961740dcc
commit 1e42f4f300
3 changed files with 171 additions and 16 deletions

View File

@@ -0,0 +1,8 @@
Enhancement: S3 backend: accept AWS_SESSION_TOKEN
Before, it was not possible to use s3 backend with AWS temporary security credentials(with AWS_SESSION_TOKEN).
This change gives higher priority to credentials.EnvAWS credentials provider.
https://github.com/restic/restic/issues/1477
https://github.com/restic/restic/pull/1479
https://github.com/restic/restic/pull/1647