aws_key_rotate
This script makes it easy to rotate your AWS access keys, and store a new version in your ~/.aws/credentials file.
When you run it, it will look at the profiles in that file, and prompt you to choose one of them. It will then use those credentials to connect to your account, show you what keys you have, give you the option to create a new one (or delete one if you've hit the limit of two), and replace the details in the credentials file, making a backup as it goes.
Claude wrote a fair bit of this and I fixed the bugs!
Use at your own risk.
Quentin Stafford-Fraser August 2025
Metadata
Release files for aws_key_rotate 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aws_key_rotate-0.1.2.tar.gz | 6.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aws_key_rotate-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.9 kB
Release files / aws_key_rotate-0.1.2.tar.gz
| Download URL | aws_key_rotate-0.1.2.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a11a9e1fb8e12d05c255a09d9656b65b960f24cf48dfa54766c4941e8b09c4cb
|
|
BLAKE2b-256 checksum How to use checksums |
ac011c75329662a0d702018b106a81b60d005e21b94cb59d60229b169a8a9b97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.13
|
Release files / aws_key_rotate-0.1.2-py3-none-any.whl
| Download URL | aws_key_rotate-0.1.2-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7bcf0761843e322a35efa4b3783670df367d2f1d01d1d6fba4130ecb0bfe3031
|
|
BLAKE2b-256 checksum How to use checksums |
726cd0d78251bc8c8c77cb7591cd2f96e1c446afceca50c9b5de6117841359a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.13
|