Skip to main content

A tool for creating credentials for accessing S3 buckets

Project description

s3-credentials

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.

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


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.17.tar.gz (34.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

s3_credentials-0.17-py3-none-any.whl (22.6 kB view details)

Uploaded Python 3

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

Hashes for s3_credentials-0.17.tar.gz
Algorithm Hash digest
SHA256 b0a10dbf2acc44bc7aaecc4176aa53838a402903909499347f38d3103fa8b71b
MD5 4cd42bcd17b305659d7a71ffc347d7dc
BLAKE2b-256 21bbaa388c6e5e31479aadb69b791f2dcafec328eea83da52f0d9e5716d12060

See more details on using hashes here.

Provenance

The following attestation bundles were made for s3_credentials-0.17.tar.gz:

Publisher: publish.yml on simonw/s3-credentials

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for s3_credentials-0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 f39df8127a52d23f88d9b0dd0392a9c8045eeae84bc32963d48c5b4bc7488c51
MD5 1a54656c3cb3a594d6b772d2591cd807
BLAKE2b-256 45fa5810c5f43423c08bf9cc57cc23f01a79fa3778392c1ba97c293e175b4541

See more details on using hashes here.

Provenance

The following attestation bundles were made for s3_credentials-0.17-py3-none-any.whl:

Publisher: publish.yml on simonw/s3-credentials

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page