Skip to content

Commit 116298d

Browse files
committed
update connecting to mention S3 when needed
1 parent 37ac1ea commit 116298d

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

src/content/docs/aws/connecting/aws-cli.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ aws --endpoint-url=http://localhost.localstack.cloud:4566 kinesis list-streams
4545

4646
:::note
4747

48-
To enable the creation of pre-signed URLs for S3 buckets, please set both `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` to the value "test." Our pre-signed URL signature verification algorithm validates the pre-signed URL and its expiration.
48+
Pre-signed URLs for S3 are generated with the credentials configured on the client, such as the default `test`/`test` pair shown above.
49+
For LocalStack to be able to validate a pre-signed URL, it must be generated with valid credentials. More details at [S3 signature validation](/aws/services/s3/#signature-validation).
4950
:::
5051

5152
### Configuring a custom profile

src/content/docs/aws/connecting/credentials.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ In all such cases, the account ID is evaluated to `000000000000`.
4141

4242
## Secret Access Key
4343

44-
The value of the secret access key are currently ignored by LocalStack.
44+
The value of the secret access key is generally ignored by LocalStack.
45+
We recommend using the same value as access key ID or `test`.
4546

46-
We recommend using the same value as access key ID or `test`
47+
S3 can optionally validate request signatures, in which case the secret access key matters: it must be the secret the access key ID was issued with, or `test` for access key IDs not issued by LocalStack.
48+
See [S3 signature validation](/aws/services/s3/#signature-validation) for details.

0 commit comments

Comments
 (0)