Automatically generate your profiles overwriting the file ~/.aws/config
or print on stdout based on your AWS SSO accounts and roles to use with 99designs/aws-vault
-
Using Homebrew (recommended for MacOS)
brew tap Gympass/homebrew-tools brew install aws-vault-scg
-
One-line installer latest release script (recommended for Linux)
curl -fsSL https://github.com/Gympass/aws-vault-scg/raw/main/script/install.sh | sudo bash
-
go install github.com/Gympass/aws-vault-scg
To generate the config file run the command:
aws-vault-scg generate -s <your-aws-sso-start-url>