Configuration

Set up your AWS SDK client to connect to Object Store
View as MarkdownOpen in Claude

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-1 for 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:

aws configure

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, and AWS_DEFAULT_REGION (typically loaded from a file or secrets manager, not exported directly in shell)
  • Credentials file: Manually edit ~/.aws/credentials to 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.

import boto3
# Create S3 client pointing to Object Store
s3_client = boto3.client(
's3',
endpoint_url='https://seal.dropboxapi.com',
region_name='us-east-1'
)
# Test the connection
s3_client.head_bucket(Bucket='your-bucket-name')
print("Connected successfully!")

Next Steps