Open the AWS Console from the Terminal in One Command
说明与用途
使用单个命令 aws console <profile> 在浏览器中打开 AWS 控制台,自动使用正确的凭证,并可快速跳转到指定服务或区域。支持多会话登录和深度链接。
问题
Managing multiple AWS accounts and roles makes opening the console tedious, requiring manual profile selection and browser sign‑in each time.
结果
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.
工作流
- 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
证据
The tool relies entirely on the AWS CLI and on the AWS federation sign‑in flow documented by AWS
- 记录日期: 2026-09-22T17:15:26.698Z