Skip to content

A simple Go CLI app that extends aws-vault to enable seamless switching between AWS profiles

License

Notifications You must be signed in to change notification settings

kobeBigs/aws-vault-switch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-vault-switch

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.

Key Features

  • 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.

Installation

Currently compatible on Mac & Linux only.

Linux

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

Mac (ARM64)

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

Mac

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

Usage

  1. Run the command

    aws-vault-switch 
  2. Select profile to switch to

    image

About

A simple Go CLI app that extends aws-vault to enable seamless switching between AWS profiles

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages