This defines the S3 interface for providers other than AWS (e.g. minio-based).
platform
: The API URL (template), must be the endpoint URL that can be used for the AWS CLI for example, e.g.https://{bucket}.example.com
orhttp://example.com:9000
.bucket
: The bucket name, if applicable.region
: The region, if applicable.
GDAL documentation: https://gdal.org/en/latest/user/virtual_file_systems.html#vsis3-aws-s3-files
platform
: Some options for S3 can be inferred from the given URL (template):AWS_HTTPS
can be retrieved by parsing the scheme part of the URL.https
=ON
,http
=OFF
.AWS_S3_ENDPOINT
is the authority part of the URL after replacing all variables in the URL, e.g.us-west.mycloud.com
withouthttps://
ors3://
as prefix.AWS_VIRTUAL_HOSTING
must be set toFALSE
if there's no{bucket}
placeholder in the URL template, otherwiseTRUE
(default value).
- The
region
property corresponds to theAWS_REGION
option. - The
requester_pays
property corresponds to theAWS_REQUEST_PAYER
option. Ifrequester_pays
istrue
, setAWS_REQUEST_PAYER
torequester
. - If the
s3
authentication scheme (i.e. "Simple S3 authentication") is referred to throughauth:refs
, you should setAWS_NO_SIGN_REQUEST
toNO
. Otherwise it should beYES
.
AWS CLI documentation: https://awscli.amazonaws.com/v2/documentation/api/latest/reference/index.html
platform
corresponds to--endpoint-url
after replacing all variables in the URL.region
corresponds to--region
.- If
s3
is missing fromauth:refs
, you should use--no-sign-request
.
s3cmd documentation: https://s3tools.org/usage
platform
corresponds to--host
after replacing all variables in the URL.region
corresponds to--region
.requester_pays
corresponds to--requester-pays
.- If the
s3
authentication scheme (i.e. "Simple S3 authentication") is referred to throughauth:refs
, you should provide an secret access key and an access key id through environment variables, a profile or thes3cmd sign
command.