macOS
brew install aws-rotate-keylocal Homebrew formula metadata
brew
Easily rotate your AWS access key. Version 1.2.0 via Homebrew; verified from local package data.
install
brew install aws-rotate-keylocal Homebrew formula metadata
nix profile install nixpkgs#aws-rotate-keynixpkgs package indexes · pkgs/by-name/aw/aws-rotate-key/package.nix · source: api.github.com
overview
Easily rotate your AWS access key
history
aws-rotate-key is a small Go CLI for rotating AWS IAM access keys stored in the shared AWS credentials file.
The public repository begins in September 2016 with commits that create a new key, replace the old key in the credentials file, inspect last-used metadata, and add the README. Its purpose has remained narrow: automate a security best-practice task that is easy to perform incorrectly by hand.
The README documents binaries from GitHub Releases, Homebrew installation on macOS, a PPA for Ubuntu, and go install. That packaging mix reflects a utility meant for individual operators and small automation scripts rather than a larger platform.
The tool reads AWS credentials from the credentials file, lists the IAM user's access keys, explains the planned rotation steps, waits for confirmation unless told otherwise, writes the new key pair back to the credentials file, and deactivates or deletes the old key.
It supports profile selection, an alternate authentication profile, MFA, automatic yes-to-prompts, and deleting rather than deactivating the old key.
Its package-manager appeal is that it turns a fussy IAM/API sequence into one binary with few moving parts. The downside for maintainers is that it edits credentials directly, so provenance and version trust matter more than the code size suggests.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Credential-bearing paths to review before unattended agent runs.
~/.aws/credentialsC:\Users\USERNAME\.aws\credentialsexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
aws-rotate-key | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/stefansundin/aws-rotate-key
install metadata
| Package key | brew:aws-rotate-key |
|---|---|
| Version | 1.2.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/aws-rotate-key |
| Homepage | https://github.com/stefansundin/aws-rotate-key |
| Repository | https://github.com/stefansundin/aws-rotate-key |
| Upstream docs | https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html |
| License | MIT |
| Source archive | https://github.com/stefansundin/aws-rotate-key/archive/refs/tags/v1.2.0.tar.gz |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | aws-rotate-key |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
aws-rotate-key
nix profile install nixpkgs#aws-rotate-keysource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.