Skip to content

peterkracik/aws-profile-switcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple AWS Profile switcher

Simplifies switching between multiple profiles, instead of writing export AWS_PROFILE=profile1 just select it

Screenshot 2023-02-17 at 13 14 36

Note

However, it is not allowed for the process to change environment variables, and thus it needs to be handle via bash eval fn

Zsh

# ~/.zshrc
awsprofile() {
  eval `/PATH/TO/aws-profile-switcher`
}

Requirement

aws is installed and accessible

using

https://docs.rs/dialoguer/latest/dialoguer/

About

Simple AWS profile selector written in Rust

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages