Configuration
Set up your AWS SDK client to connect to Object Store
Dropbox Object Store is S3-compatible, which means you can use any AWS CLI or SDK to interact with your buckets over the internet.
Prerequisites
Before you begin, you’ll need:
- Access Key ID - Provided by Dropbox
- Secret Access Key - Provided by Dropbox
- Endpoint URL -
https://seal.dropboxapi.com - Region - Use
us-east-1for all requests
Contact your Dropbox representative to obtain credentials.
Configure Credentials
First, install the AWS CLI if you haven’t already. See AWS CLI installation instructions for your platform.
Then configure your credentials:
When prompted, enter:
- AWS Access Key ID: Your Dropbox-provided access key
- AWS Secret Access Key: Your Dropbox-provided secret key
- Default region name:
us-east-1 - Default output format:
json(or press enter)
This creates ~/.aws/credentials and ~/.aws/config files that all AWS SDKs will automatically use.
Alternative methods:
- Environment variables: Set
AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY, andAWS_DEFAULT_REGION(typically loaded from a file or secrets manager, not exported directly in shell) - Credentials file: Manually edit
~/.aws/credentialsto add a profile - IAM roles: If running on AWS infrastructure
Using the SDKs
Once credentials are configured, your code only needs to specify the Object Store endpoint. The SDK automatically reads credentials from ~/.aws/credentials or environment variables.