Switch AWS profiles instantly
A fast, minimal AWS profile switcher for your terminal. Fuzzy search, SSO support, and identity verification built-in.
curl -fsSL
https://raw.githubusercontent.com/rnihesh/awsp/main/install.sh |
bash
Features
Fuzzy Search
Interactive profile selection with fzf. Falls back to numbered menu if fzf is not installed.
SSO Support
Automatically detects expired SSO tokens and prompts you to re-authenticate.
Identity Verification
Confirms your identity after every profile switch using AWS STS.
Zero Dependencies
Works with just AWS CLI. fzf is optional but recommended for better experience.
Shell Support
Works with both Bash and Zsh. Easy one-line installation.
Fast & Minimal
Simple shell function. No bloat, no slowdown to your terminal startup.
Commands
awsp
Interactive profile selector
awsp <profile>
Switch to specific profile
awsp list
List all profiles
awsp clear
Clear current profile
awsp-current
Show current profile
awsp --help
Show help