This tool replaces the
AWS IAM
key in your ~/.aws/credentials
with a fresh key.
- You need pipenv installed.
- Do
pipenv sync
to get the venv created. - Use the wrapper script
rotate-iam
to take care of invoking pipenv and rotating your IAM key.
./rotate-iam
It respects your AWS_PROFILE
environment variable
to find which key to update.
AWS_PROFILE=foo ./rotate-iam
- validate keypair before writing to disk
- deactivate old key
- issue template
- github actions