A tool for creating credentials for accessing S3 buckets
Project description
s3-credentials
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.
Installation
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: s3.read-write.my-new-s3-bucket with permissions boundary: arn:aws:iam::aws:policy/AmazonS3FullAccess
Attached policy s3.read-write.my-new-s3-bucket to user s3.read-write.my-new-s3-bucket
Created access key for user: s3.read-write.my-new-s3-bucket
{
"UserName": "s3.read-write.my-new-s3-bucket",
"AccessKeyId": "AKIAWXFXAIOZOYLZAEW5",
"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.
Documentation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
s3-credentials-0.16.1.tar.gz
(29.5 kB
view hashes)
Built Distribution
Close
Hashes for s3_credentials-0.16.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c07eb808cab1c7a6af52c513cce183d2a91596291b365e2f87e82ccb23c9d3d7 |
|
MD5 | 38f2ec85b3e2ace4b244f908a99bf69c |
|
BLAKE2b-256 | 4ecd659a77e944584056f2c489956b4fd4cafa26278b82c8204e99bfba6e4b94 |