Open the AWS Console from the Terminal in One Command
Description and use
A single command aws console <profile> opens the AWS console in the browser with the correct credentials, optionally jumping to a service or region. Supports multi‑session sign‑ins and deep links.
Problem
Managing multiple AWS accounts and roles makes opening the console tedious, requiring manual profile selection and browser sign‑in each time.
Outcome
The workflow reduces console access time to a single command, supports deep‑linking to services, enables up to five simultaneous signed‑in sessions, and is fully auditable with no credential storage.
Workflow
- Install the tool via curl and install.sh
- Register the
aws consolealias - Run
aws console <profile>to open the console - Use
--printto view the URL - Use
--regionor--serviceto target specific areas - Enable multi‑session for simultaneous account access
- Optional: use shell aliases
al,ap,acfor faster workflow - Optional: enable zsh completion for profiles and services
Evidence
The tool relies entirely on the AWS CLI and on the AWS federation sign‑in flow documented by AWS
- Record date: 2026-09-22T17:15:26.698Z