Open an AWS console session for a given IAM role in an appropriate Firefox container from the command line.
- aws-vault
- firefox
- firefox multi-account-containers addon
- firefox open-url-in-container addon
- jq
aws-login foo-account-BarRole
Where foo-account-BarRole
is an IAM role you can assume in the foo-account
AWS account using aws-vault
, and you have a Firefox container named foo-account
.
The tool assumes that you have your profile names structured in this {account}-{role}
format.
- Clone the repo.
- Updated your shell rc script to add the repo
bin
directory to yourPATH
variable.