s3cmd
s3cmd is a tool to manage buckets and files an to invoke the S3 API. You can achieve similar action with aws cli. s3cmd
runs on Linux and Mac.
Please follow the installation instruction like described on s3cmd.
Required data
access_key
secret_key
- Contabo's S3 URL
For access_key
, secret_key
and the S3 URL please check here.
Example data
access_key
= 82046e8110804a43bf29c1ae426a724dsecret_key
= 82e69bd7a52076c527154297a76c2233- S3 URL = https://eu2.contabostorage.com
Setup
Please follow the steps in order to use Contabo's Object Storage:
s3cmd --configure
- Specify
82046e8110804a43bf29c1ae426a724d
asAccess Key
- Specify
82e69bd7a52076c527154297a76c2233
asSecret Key
- Press return for
Default Region
- Specify
eu2.contabostorage.com
forS3 Endpoint
- Specify
eu2.contabostorage.com
forDNS-style bucket+hostname:port template for accessing a bucket
- Specify as password of your choice for
Encryption password
- Press return for
Path to GPG program
- Press return for
Use HTTPS protocol
- Press return for
HTTP Proxy server name
- Confirm by specifying
y
- Confirm again by specifying
y
Sample Usage
# Lists your buckets
s3cmd s3 ls
# Delete Bucket CORS of bucket named BUCKETNAME
s3cmd delcors s3://BUCKETNAME