Skip to content


Folders and files

Last commit message
Last commit date

Latest commit


Repository files navigation


PyPI Changelog Tests Documentation Status License

A tool for creating credentials for accessing S3 buckets

For project background, see s3-credentials: a tool for creating credentials for S3 buckets on my blog.


pip install s3-credentials

Basic usage

To create a new S3 bucket and output credentials that can be used with only that bucket:

% s3-credentials create my-new-s3-bucket --create-bucket
Created bucket:  my-new-s3-bucket
Created user: with permissions boundary: arn:aws:iam::aws:policy/AmazonS3FullAccess
Attached policy to user
Created access key for user:
    "UserName": "",
    "Status": "Active",
    "SecretAccessKey": "...",
    "CreateDate": "2021-11-03 01:38:24+00:00"

The tool can do a lot more than this. See the documentation for details.