Console and terminal
Open the AWS console or a terminal with a session ready.
Console
Open console builds a federated sign-in URL from the active session’s credentials and opens it in your browser. The console session lasts as long as the credentials.
rolle console "Acme Prod/AdministratorAccess"
rolle console "Acme Prod/AdministratorAccess" --print # print the URL instead
Terminal
Open terminal opens a terminal window with the session’s environment exported. The terminal is Settings → General → Terminal, or the system default:
| Platform | Default |
|---|---|
| macOS | The app that opens .command files. Terminal, unless another terminal made itself the default: cmux, iTerm2, and Ghostty each have a menu item for that |
| Linux | $TERMINAL, then x-terminal-emulator, gnome-terminal, konsole, xfce4-terminal, alacritty, kitty, xterm |
| Windows | Windows Terminal, then PowerShell |
rolle shell "Acme Prod/AdministratorAccess"
Shell exports
rolle env prints the credentials as exports for the current shell.
eval "$(rolle env "Acme Prod/AdministratorAccess")"
rolle env personal --powershell | Invoke-Expression