Rotate your AWS access keys and update your credentials file.
Project description
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
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 aws_key_rotate-0.1.1.tar.gz.
File metadata
- Download URL: aws_key_rotate-0.1.1.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3492b49d8d6eea67e8fbf68db64fb0ecc541c0ee569adb41e1fc031534b9a54e
|
|
| MD5 |
b608b8df1ef6fca18f0cc1c13e2fe32f
|
|
| BLAKE2b-256 |
8609a691d3f51c52ffc1d7e9d516af7cb89d86699bc82491148a3e60d349f797
|
File details
Details for the file aws_key_rotate-0.1.1-py3-none-any.whl.
File metadata
- Download URL: aws_key_rotate-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3045bdf377f77bd30d284b862310b5244bdc06aaea6f78f3124c21426fb28870
|
|
| MD5 |
7dd7a1b3ad50d0c5e7c058dad3106d5b
|
|
| BLAKE2b-256 |
f4c2976eb77012e70aaaeb7f5af1b570e2d32e8927d718c1e8833e0bb3a0fc30
|