aws vault

From their README

aws-vault-alfred-workflow

Open the AWS management console via aws-vault.

mymovie

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.

  1. Open Alfred Preference, then open Workflows.
  2. Select Open AWS via aws-vault.
  3. Select [x] icon.
  4. From Workflow Environment Variables, change preferred_browser variable from chrome to firefox.

When you want to use Firefox Containers, follow this instructions.

  1. Install Firefox Multi-Account Containers and Open external links in a container.
  2. Open Alfred Preference, then open Workflows.
  3. Select Open AWS via aws-vault.
  4. Select [x] icon.
  5. From Workflow Environment Variables, change preferred_browser variable from chrome to firefox-containers.

Requirements

  1. Alfred 4 or later
  2. Alfred Powerpack
  3. aws-vault

Installing

  1. Download workflow from packal or Release.
  2. Double-click to import into Alfred.