From 7baa9a570d75f73b47a30160e640d7d62b901fa5 Mon Sep 17 00:00:00 2001 From: Andy Date: Fri, 10 Sep 2021 14:06:46 +0100 Subject: [PATCH 1/2] document AWS_PROFILE support Since restic (or whatever library it is using) seems to respect/use AWS_PROFILE, it's worth documenting this. --- doc/040_backup.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/040_backup.rst b/doc/040_backup.rst index 4ef95205c..622a291a3 100644 --- a/doc/040_backup.rst +++ b/doc/040_backup.rst @@ -529,6 +529,7 @@ environment variables. The following lists these environment variables: AWS_ACCESS_KEY_ID Amazon S3 access key ID AWS_SECRET_ACCESS_KEY Amazon S3 secret access key AWS_DEFAULT_REGION Amazon S3 default region + AWS_PROFILE Amazon credentials profile (can be used instead of the keys and region) ST_AUTH Auth URL for keystone v1 authentication ST_USER Username for keystone v1 authentication From 1efc26899d4aa4c829a087ebfcdee82fbbdc2ae6 Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Fri, 18 Feb 2022 23:31:10 +0100 Subject: [PATCH 2/2] Update docs for AWS_PROFILE and AWS_SHARED_CREDENTIALS_FILE --- doc/040_backup.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/040_backup.rst b/doc/040_backup.rst index 622a291a3..4159d3840 100644 --- a/doc/040_backup.rst +++ b/doc/040_backup.rst @@ -529,7 +529,8 @@ environment variables. The following lists these environment variables: AWS_ACCESS_KEY_ID Amazon S3 access key ID AWS_SECRET_ACCESS_KEY Amazon S3 secret access key AWS_DEFAULT_REGION Amazon S3 default region - AWS_PROFILE Amazon credentials profile (can be used instead of the keys and region) + AWS_PROFILE Amazon credentials profile (alternative to specifying key and region) + AWS_SHARED_CREDENTIALS_FILE Location of the AWS CLI shared credentials file (default: ~/.aws/credentials) ST_AUTH Auth URL for keystone v1 authentication ST_USER Username for keystone v1 authentication