crab auth status
Display current authentication state.
Synopsis
crab auth status [OPTIONS]Description
crab auth status shows token state and non-secret settings for the direct
cloud provider selected by [auth].provider: whether its token is present,
expired, and refreshable.
For a live managed-service profile check, use an authenticated control-plane command instead:
crab organization list --service crab.build --limit 1 --jsonThat probe covers the exact profile, discovery/API compatibility, token refresh, and managed service response.
For conceptual background, see Authentication Status.
Options
| Option | Default | Description |
|---|---|---|
--json | false | Emit structured JSON output |
Examples
crab auth status
crab auth status --jsonThe command reads local authentication state and does not prove that the remote provider will accept the next request. Use the managed-service probe above or a read-only provider operation when the incident requires an end-to-end access check. JSON output is appropriate for diagnostics that need stable token-state fields without exposing the credential itself.
Related commands
crab login: authenticate.crab logout: remove credentials.crab env: inspect environment information.