Accessing Cloud Data
Also available as:
loading table of contents...

Using Per-Bucket Credentials to Authenticate

S3A supports per-bucket configuration, which can be used to declare different authentication credentials and authentication mechanisms for different buckets.

For example, a bucket s3a://nightly/ used for nightly data can be configured with a session key:



Similarly, you can set a session token for a specific bucket:


This technique is useful for working with external sources of data, or when copying data between buckets belonging to different accounts.

Also see Customizing Per-Bucket Secrets Held in Credential Files.