auth:status

Report who the current access token signs you in as: authenticated, user_id and email (null when not signed in), auth_enabled (whether sign-in is required) and session_capacity (mode, gate_closed, reason, authenticated_session_admitted, public_surface_mode, web_heartbeat_seconds). Session capacity concerns signed-in web sessions, not compute approval sessions.

Reference for flywheel auth:status.

Inspect authentication readiness. When FLYWHEEL_API_KEY or the selected profile's api_key_env supplies authentication, the credential file is not read and credential_store_readiness is not_checked.

Command Group

Auth Commands

Summary

Report who the current access token signs you in as: authenticated, user_id and email (null when not signed in), auth_enabled (whether sign-in is required) and session_capacity (mode, gate_closed, reason, authenticated_session_admitted, public_surface_mode, web_heartbeat_seconds). Session capacity concerns signed-in web sessions, not compute approval sessions.

Effect

read-only

Usage

flywheel auth:status [FLAGS]

Aliases

as

Required flags

None.

Optional flags

FlagValueDefaultChoicesDescription
--formatFORMATjson, tsv, csv, tableOutput format for command results.
--envPROFILESelect a CLI profile; unconfigured default requires FLYWHEEL_BASE_URL.
--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.
--yesConfirm forced compute:release-all --force. Other runtime commands do not read --yes.
--debugPrint structured request debugging with secrets masked.
--verbosePrint verbose progress for long-running operations.
-h, --helpShow this help.

Examples

Check whether the current config is authenticated.

flywheel auth:status --format=json

Produce tab-separated output for script consumption.

flywheel auth:status --format=tsv

Output

Default format: json.

FieldType
authenticatedboolean
user_id (optional)string | null
email (optional)string | null
auth_enabled (optional)boolean
session_capacity (optional)object
auth_method (optional)"api_key"
email_unavailable_reason (optional)"api_key_auth_without_email"
profilestring
local_config_readinessstring
credential_store_readinessstring
remote_readinessstring
remediation (optional)string