Quick Start (CLI Reference)

Get hands-on fast with the GrantFlow CLI. If you prefer a single-page guide with more examples, see the GrantFlow CLI Getting Started guide.

Authenticate

bash
grantflow login

Follow the device code prompt in your browser. Tokens are cached in ~/.grantflow/token-cache.json.

List roles

bash
grantflow roles list --output table

Request an activation

bash
grantflow activations request <ROLE_ID> --duration 60 --reason "Routine maintenance"

See more

For scripting, batching, retries, and advanced options, see the GrantFlow CLI Getting Started guide.