Skip to main content

s3cmd Configuration

Example of ~/.s3cfg Configuration

[default]
access_key = YOUR_ACCESS_KEY
secret_key = YOUR_SECRET_KEY
host_base = s3.amazonaws.com
host_bucket = %(bucket)s.s3.amazonaws.com
use_https = True
region = us-east-1
signature_v2 = False
encrypt = False

Read detail here if you are working on Digital Ocean: