{"id":13738311,"url":"https://github.com/simonw/s3-credentials","last_synced_at":"2025-04-05T20:05:22.627Z","repository":{"id":40571194,"uuid":"423984522","full_name":"simonw/s3-credentials","owner":"simonw","description":"A tool for creating credentials for accessing S3 buckets","archived":false,"fork":false,"pushed_at":"2024-04-05T05:45:18.000Z","size":152,"stargazers_count":195,"open_issues_count":22,"forks_count":11,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-18T07:53:42.927Z","etag":null,"topics":["aws","boto3","s3"],"latest_commit_sha":null,"homepage":"https://s3-credentials.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simonw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/contributing.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-02T20:09:50.000Z","updated_at":"2024-09-12T02:40:22.000Z","dependencies_parsed_at":"2024-01-08T17:20:05.965Z","dependency_job_id":"47b85b36-f1bb-4d1c-acbd-1f75415dac9d","html_url":"https://github.com/simonw/s3-credentials","commit_stats":{"total_commits":113,"total_committers":4,"mean_commits":28.25,"dds":"0.026548672566371723","last_synced_commit":"3f7bb39e4984f7e100e745bb93657b3d6d9e074c"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fs3-credentials","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fs3-credentials/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fs3-credentials/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fs3-credentials/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonw","download_url":"https://codeload.github.com/simonw/s3-credentials/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247393568,"owners_count":20931812,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","boto3","s3"],"created_at":"2024-08-03T03:02:18.105Z","updated_at":"2025-04-05T20:05:22.602Z","avatar_url":"https://github.com/simonw.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# s3-credentials\n\n[![PyPI](https://img.shields.io/pypi/v/s3-credentials.svg)](https://pypi.org/project/s3-credentials/)\n[![Changelog](https://img.shields.io/github/v/release/simonw/s3-credentials?include_prereleases\u0026label=changelog)](https://github.com/simonw/s3-credentials/releases)\n[![Tests](https://github.com/simonw/s3-credentials/workflows/Test/badge.svg)](https://github.com/simonw/s3-credentials/actions?query=workflow%3ATest)\n[![Documentation Status](https://readthedocs.org/projects/s3-credentials/badge/?version=latest)](https://s3-credentials.readthedocs.org/)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/simonw/s3-credentials/blob/master/LICENSE)\n\nA tool for creating credentials for accessing S3 buckets\n\nFor project background, see [s3-credentials: a tool for creating credentials for S3 buckets](https://simonwillison.net/2021/Nov/3/s3-credentials/) on my blog.\n\n## Installation\n\n    pip install s3-credentials\n\n## Basic usage\n\nTo create a new S3 bucket and output credentials that can be used with only that bucket:\n```\n% s3-credentials create my-new-s3-bucket --create-bucket\nCreated bucket:  my-new-s3-bucket\nCreated user: s3.read-write.my-new-s3-bucket with permissions boundary: arn:aws:iam::aws:policy/AmazonS3FullAccess\nAttached policy s3.read-write.my-new-s3-bucket to user s3.read-write.my-new-s3-bucket\nCreated access key for user: s3.read-write.my-new-s3-bucket\n{\n    \"UserName\": \"s3.read-write.my-new-s3-bucket\",\n    \"AccessKeyId\": \"AKIAWXFXAIOZOYLZAEW5\",\n    \"Status\": \"Active\",\n    \"SecretAccessKey\": \"...\",\n    \"CreateDate\": \"2021-11-03 01:38:24+00:00\"\n}\n```\nThe tool can do a lot more than this. See the [documentation](https://s3-credentials.readthedocs.io/) for details.\n\n## Documentation\n\n- [Full documentation](https://s3-credentials.readthedocs.io/)\n- [Command help reference](https://s3-credentials.readthedocs.io/en/stable/help.html)\n- [Release notes](https://github.com/simonw/s3-credentials/releases)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonw%2Fs3-credentials","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonw%2Fs3-credentials","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonw%2Fs3-credentials/lists"}