S3 region=

S3: Support a region= configuration useful for some non-Amazon S3
implementations. This feature needs git-annex to be built with aws-0.24.

datacenter= sets both the AWS hostname and region in one setting, which is
easy when using AWS, but not useful for other hosts. So kept datacenter
as-is, but added this additional config.

Sponsored-By: Brett Eisenberg on Patreon
This commit is contained in:
Joey Hess 2023-02-06 14:07:33 -04:00
parent 5aacc8eb59
commit 04ec726d3b
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
5 changed files with 53 additions and 7 deletions

View file

@ -34,9 +34,12 @@ the S3 remote.
Think carefully about who can access your repository before using
embedcreds without gpg encryption.
* `datacenter` - Defaults to "US". Other values include "EU" (which is EU/Ireland),
"us-west-1", "us-west-2", "ap-southeast-1", "ap-southeast-2", and
"sa-east-1".
* `datacenter` - Specifies which Amazon datacenter
to use for the bucket. Defaults to "US". Other values include "EU"
(which is EU/Ireland), "us-west-1", "us-west-2", "ap-southeast-1",
"ap-southeast-2", and "sa-east-1". See Amazon's documentation for a
complete list. Configuring this is equivilant to configuring both
`host` and `region`.
* `storageclass` - Default is "STANDARD".
Consult S3 provider documentation for pricing details and available
@ -63,6 +66,10 @@ the S3 remote.
* `host` - Specify in order to use a different, S3 compatable
service.
* `region` - Specify the region to use. Only makes sense to use when
you also set `host`.
(Requires a git-annex built with aws-0.24.)
* `protocol` - Either "http" (the default) or "https". Setting
protocol=https implies port=443.