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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file s3_credentials-0.17.tar.gz.
File metadata
- Download URL: s3_credentials-0.17.tar.gz
- Upload date:
- Size: 34.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0a10dbf2acc44bc7aaecc4176aa53838a402903909499347f38d3103fa8b71b
|
|
| MD5 |
4cd42bcd17b305659d7a71ffc347d7dc
|
|
| BLAKE2b-256 |
21bbaa388c6e5e31479aadb69b791f2dcafec328eea83da52f0d9e5716d12060
|
Provenance
The following attestation bundles were made for s3_credentials-0.17.tar.gz:
Publisher:
publish.yml on simonw/s3-credentials
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
s3_credentials-0.17.tar.gz -
Subject digest:
b0a10dbf2acc44bc7aaecc4176aa53838a402903909499347f38d3103fa8b71b - Sigstore transparency entry: 767923075
- Sigstore integration time:
-
Permalink:
simonw/s3-credentials@0ac4dbe6f80ea9b335cd8c74a5d8adb4ea6014de -
Branch / Tag:
refs/tags/0.17 - Owner: https://github.com/simonw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0ac4dbe6f80ea9b335cd8c74a5d8adb4ea6014de -
Trigger Event:
release
-
Statement type:
File details
Details for the file s3_credentials-0.17-py3-none-any.whl.
File metadata
- Download URL: s3_credentials-0.17-py3-none-any.whl
- Upload date:
- Size: 22.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f39df8127a52d23f88d9b0dd0392a9c8045eeae84bc32963d48c5b4bc7488c51
|
|
| MD5 |
1a54656c3cb3a594d6b772d2591cd807
|
|
| BLAKE2b-256 |
45fa5810c5f43423c08bf9cc57cc23f01a79fa3778392c1ba97c293e175b4541
|
Provenance
The following attestation bundles were made for s3_credentials-0.17-py3-none-any.whl:
Publisher:
publish.yml on simonw/s3-credentials
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
s3_credentials-0.17-py3-none-any.whl -
Subject digest:
f39df8127a52d23f88d9b0dd0392a9c8045eeae84bc32963d48c5b4bc7488c51 - Sigstore transparency entry: 767923095
- Sigstore integration time:
-
Permalink:
simonw/s3-credentials@0ac4dbe6f80ea9b335cd8c74a5d8adb4ea6014de -
Branch / Tag:
refs/tags/0.17 - Owner: https://github.com/simonw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0ac4dbe6f80ea9b335cd8c74a5d8adb4ea6014de -
Trigger Event:
release
-
Statement type: