auth:login

Bootstrap API key auth through RFC 8628 device authorization flow.

Reference for flywheel auth:login.

Command Group

Auth Commands

Summary

Bootstrap API key auth through RFC 8628 device authorization flow.

Usage

flywheel auth:login [FLAGS]

Aliases

al

Required flags

None.

Optional flags

FlagValueDefaultChoicesDescription
--namestringHuman-readable label for the new key.
--expiry_daysintegerKey lifetime in days (server default applies when omitted).
--no-browserPrint the verification URL instead of auto-opening the browser.
--formatFORMATjson, tsv, csv, tableOutput format for command results.
--envPROFILEUse a configured CLI profile for this invocation.
--outPATHWrite output to a file path, or use - for stdout.
--openOpen browser-bound URLs when supported.
--no-retryDisable transient-error retries.
--retry-maxNMaximum transient-error retry attempts.
--waitBlock on async operations until a terminal state is reached.
--wait-timeoutSECONDS600Seconds to wait for --wait before timing out. Defaults to 600.
--allow-selfAllow mutating the currently active credential.
--timeoutSECONDSSet the per-request timeout budget in seconds.
--idempotency-keyKEYReuse an Idempotency-Key so ambiguous write failures can be retried with the same key.
--forceForce safety-gated operations where supported.
--yesSkip confirmation prompts for destructive operations.
--debugPrint structured request debugging with secrets masked.
--verbosePrint verbose progress for long-running operations.
-h, --helpShow this help.

Examples

Interactive login against the active profile.

flywheel auth:login

Headless login (prints the verification URL instead of opening the browser).

flywheel auth:login --no-browser