Awsp
Switch AWS Profiles Easily
Install / Use
/learn @johnnyopao/AwspREADME
AWSP - AWS Profile Switcher
Easily switch between AWS Profiles
<img src="demo.gif" width="500">Prereqs
Setup your profiles using the aws cli
aws configure --profile PROFILE_NAME
You can also leave out the --profile PROFILE_NAME param to set your default credentials
Refer to this doc for more information https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html
Setup
npm install -g awsp
Add the following to your .bashrc or .zshrc config
alias awsp="source _awsp"
Usage
awsp
Show your AWS Profile in your shell prompt
For better visibility into what your shell is set to it's helpful to configure your prompt to show the value of the env variable AWS_PROFILE.
Here's a sample of my zsh prompt config using oh-my-zsh themes
function aws_prof {
local profile="${AWS_PROFILE:=default}"
echo "%{$fg_bold[blue]%}aws:(%{$fg[yellow]%}${profile}%{$fg_bold[blue]%})%{$reset_color%} "
}
PROMPT='OTHER_PROMPT_STUFF $(aws_prof)'
Related Skills
node-connect
342.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.7kCommit, push, and open a PR
