aws-vault-alfred-workflow
Open the AWS management console via aws-vault.
Overview
aws-vault is a tool for securely managing AWS credentials and authenticating multiple AWS accounts via assumeRole. aws-vault login
is useful, but the browser cannot open multiple AWS accounts at the same time. This workflow creates a browser profile for each AWS account and opens a window for each profile.
It allows you to open multiple AWS accounts at the same time.
How to use
aws [profile name]
The profile name corresponds to the profile name in $HOME/.aws/config
.
Internally launch the aws-vault login
command and launch your browser with a separate profile.
Support browsers
- Google Chrome
- Firefox
- Firefox Containers
When you want to use firefox, follow this instructions.
- Open Alfred Preference, then open Workflows.
- Select Open AWS via aws-vault.
- Select [x] icon.
- From Workflow Environment Variables, change preferred_browser variable from
chrome
tofirefox
.
When you want to use Firefox Containers, follow this instructions.
- Install Firefox Multi-Account Containers and Open external links in a container.
- Open Alfred Preference, then open Workflows.
- Select Open AWS via aws-vault.
- Select [x] icon.
- From Workflow Environment Variables, change preferred_browser variable from
chrome
tofirefox-container
.