Skip to main content

Use Your Existing S3 Code

Tigris is fully S3-compatible. If you already have code that talks to AWS S3 or any S3-compatible service, you can switch to Tigris by changing two things:

  1. Endpoint — point to https://t3.storage.dev
  2. Credentials — use your Tigris access key and secret key

Everything else — your SDK calls, CLI scripts, libraries — stays exactly the same.

Get your credentials

Create an access key in the Tigris Console. You'll get a key pair:

  • Access Key ID — starts with tid_
  • Secret Access Key — starts with tsec_

Tigris authenticates using access key and secret key pairs only. AssumeRole, STS, and temporary security credentials are not supported. We recommend rotating your access keys regularly.

Configure your environment

The fastest way to get started is to set environment variables. Every AWS SDK and the AWS CLI will pick these up automatically:

export AWS_ACCESS_KEY_ID="tid_your_access_key"
export AWS_SECRET_ACCESS_KEY="tsec_your_secret_key"
export AWS_ENDPOINT_URL="https://t3.storage.dev"
export AWS_REGION="auto"

That's it. Your existing code now talks to Tigris.

Using an AWS profile

If you use Tigris alongside AWS, add a named profile to ~/.aws/credentials and ~/.aws/config:

~/.aws/credentials
[tigris]
aws_access_key_id = tid_your_access_key
aws_secret_access_key = tsec_your_secret_key
~/.aws/config
[profile tigris]
endpoint_url = https://t3.storage.dev
region = auto

Then select the profile when running commands:

export AWS_PROFILE=tigris

# Or pass it per-command
aws s3 ls --profile tigris

Quick examples

# List buckets
aws s3 ls --endpoint-url https://t3.storage.dev

# Create a bucket
aws s3 mb s3://my-bucket --endpoint-url https://t3.storage.dev

# Upload a file
aws s3 cp ./file.bin s3://my-bucket/ --endpoint-url https://t3.storage.dev

# Download a file
aws s3 cp s3://my-bucket/file.bin ./file.bin --endpoint-url https://t3.storage.dev

If you set AWS_ENDPOINT_URL in your environment, you can drop the --endpoint-url flag entirely.

AWS SDK guides

Tigris works with the official AWS SDKs for every language. Pick your language for full setup instructions, configuration options, and examples: