Skip to content

s3ctl documentation · v0.8.48

No console clicking.
No IAM drift.

s3ctl creates S3-compatible buckets and gives each one an access key that only reaches it. Describe the buckets with flags, a JSON config or a CSV batch, and --dry-run shows the plan first.

$ brew tap netspeedy/s3ctl && brew install s3ctl
$ s3ctl --bucket app-data --create-scoped-credentials \
    --endpoint https://objects.example.com --dry-run

S3 Provisioning Result
======================
Resources: 1
Mode: dry-run

Bucket: app-data
Endpoint: https://objects.example.com
Region: us-east-1
Bucket create planned: yes
Versioning requested: no
Encryption requested: no
Bucket policy planned: no
Scoped credentials planned: yes
IAM user: app-data
Credential policy template: bucket-readwrite
Access key ID: (generated on apply)
Secret access key: (generated on apply)

Browse the docs

From a first bucket to every flag.