Skip to content

Commit

Permalink
docs: mention AWS_ENDPOINT_URL_DYNAMODB
Browse files Browse the repository at this point in the history
Signed-off-by: Max Piskunov <[email protected]>
  • Loading branch information
maxitg authored and ion-elgreco committed Nov 23, 2024
1 parent cd9c9d5 commit 0d076a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/usage/writing/writing-to-s3-with-locking-provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ This locking mechanism is compatible with the one used by Apache Spark. The `tab

Note that `delta-rs` does not read credentials from your local `.aws/config` or `.aws/creds` file. Credentials can be accessed from environment variables, ec2 metadata, profiles or web identity. You can pass credentials to `storage_options` using `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`.

To use a custom endpoint (e.g., LocalStack), set `AWS_ENDPOINT_URL_DYNAMODB` in the `storage_options`.

The following code allows creating the necessary DynamoDB table from the AWS cli:

```sh
Expand Down

0 comments on commit 0d076a7

Please sign in to comment.