From 8ca06e459326cce26efa70793733e109ece65615 Mon Sep 17 00:00:00 2001 From: Matthias Mohr Date: Sun, 24 Nov 2024 19:57:02 +0100 Subject: [PATCH] Apply suggestions from code review --- platforms/aws-s3.md | 2 +- platforms/custom-s3.md | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/platforms/aws-s3.md b/platforms/aws-s3.md index 1a32963..08751fd 100644 --- a/platforms/aws-s3.md +++ b/platforms/aws-s3.md @@ -7,5 +7,5 @@ This defines the Amazon Web Services (AWS) S3 interface. - `bucket`: The bucket name. - `region`: One of the S3 regions (lowercase). -**Note:** If `s3` exists in `auth:refs`, you should use sign requests, +**Note:** If the `s3` authentication scheme (i.e. "Simple S3 authentication") is referred to through `auth:refs`, you should disable signing requests, e.g. using the AWS CLI parameter `--no-sign-request`. diff --git a/platforms/custom-s3.md b/platforms/custom-s3.md index e99db5d..5fcbec5 100644 --- a/platforms/custom-s3.md +++ b/platforms/custom-s3.md @@ -14,11 +14,12 @@ GDAL documentation: - `platform` corresponds to `--host` / `--host-bucket` after replacing all variables in the URL (?). - `region` corresponds to `--region`. - `requester_pays` corresponds to `--requester-pays`. -- If `s3` exists in `auth:refs`, you should use the `s3cmd sign` command. +- If the `s3` authentication scheme (i.e. "Simple S3 authentication") is referred to through `auth:refs`, + you should provide an secret access key and an access key id through environment variables, a profile or the `s3cmd sign` command.