All apps/Granted

Granted

granted
Runs as assume, granted|macOS, Linux, Windows|docs.granted.dev

Command form

ai-draft · 2 tasks · 8 fields

Assume an AWS profile with Granted's assume, optionally opening the AWS console. It prints shell exports through the assume wrapper, so run it in a shell where Granted is set up. SSO flags, credential export and access-request options are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui granted
Assume an AWS roleExample values, fixed in this page — nothing here reaches a terminal
Basic
AWS profile
string
Region
string
Advanced
Session duration
string
TasksEach one presets the form for one job
Assume a role in this terminal
profileregionduration
Open a role in the AWS console
profileconsoleserviceregionconsole_destinationurl
ParametersOnly these flags are editable in the form
AWS profile
Profile name from ~/.aws/config. Leave empty to pick one interactively.
string · positional 0
Open the AWS console
boolean
--console-c
Console service
Open the console at a specific service, for example iam or cfn.
string
--service-s
Region
string
--region-r
Console destination URL
url
--console-destination-cd
Print console URL instead of opening a browser
boolean
--url
Session duration
For example 1h.
string
--duration-d
Use the active role
boolean
--active-role-ar
SourcesEvery flag above is checked against these
docs
assume <PROFILE_NAME> assume -c role-a --console or -c --region or -r assume -c -r ap-southeast-1 role-a --service or -s assume -s iam --console-destination or -cd --active-role or -ar To return the URL to stdout instead of launching a browser, use the --url flag. --duration or -d
manual2026-10-27

docs.granted.dev

Before it fills your prompt, Otty checks the installed assume against its version. A form that does not match your version is not offered.