A simple Go CLI app that extends aws-vault functionality to enable seamless switching between AWS profiles without the need to exit the current shell session.
Written by Kobe Subramaniam.
- Profile Listing: List all available AWS profiles managed by
aws-vault
. - Profile Switching: Switch between AWS profiles without exiting the current shell session, maintaining your working context and improving efficiency.
- Easy Integration: Built using Go and Cobra library, this tool integrates smoothly with existing
aws-vault
setup and enhances their capabilities.
Currently compatible on Mac & Linux only.
wget https://github.com/kobeBigs/aws-vault-switch/releases/download/v0.1.0/aws-vault-switch-linux.tar.gz
tar -xzvf aws-vault-switch-linux.tar.gz
sudo mv aws-vault-switch-linux /usr/local/bin/aws-vault-switch
wget https://github.com/kobeBigs/aws-vault-switch/releases/download/v0.1.0/aws-vault-switch-mac-arm.tar.gz
tar -xzvf aws-vault-switch-mac-arm.tar.gz
sudo mv aws-vault-switch-mac /usr/local/bin/aws-vault-switch
wget https://github.com/kobeBigs/aws-vault-switch/releases/download/v0.1.0/aws-vault-switch-mac.tar.gz
tar -xzvf aws-vault-switch-mac.tar.gz
sudo mv aws-vault-switch-mac /usr/local/bin/aws-vault-switch
Clone the repository and build the application
git clone https://github.com/kobebigs/aws-vault-switch
cd aws-vault-switch
go build -o aws-vault-switch