Skip to main content

What This Checks

tm auth status is a local readiness check. It inspects whether the expected Control Plane and gateway credentials are present locally. It does not make a live API request. Use tm auth whoami when you want to verify that the current bearer token works against the Control Plane.

Usage

Examples

Show local Control Plane and Gateway auth state.

Use shell-friendly exit codes when Control Plane or Gateway auth is not ready.

Options

NameTypeRequiredDefaultDetails
--exit-statusbooleannofalseExit non-zero when Control Plane or Gateway auth prerequisites are missing. Boolean flag.

Inherited Global Options

NameTypeRequiredDefaultDetails
--version, -VbooleannofalseShow the version and exit. Boolean flag.
--configpathno"~/.config/tensormesh/config.toml"Path to config TOML file
--output`choice[textjsonyamlrawtable]`no"text"Output format (text is human-readable; json is machine-friendly).
--quietbooleannofalseSuppress non-essential output. Boolean flag.
--debugbooleannofalsePrint debug logs to stderr (secrets redacted). Boolean flag.
--ca-bundlepathnoPath to a PEM CA bundle for TLS verification (overrides TENSORMESH_CA_BUNDLE).
--timeoutfloatnoDefault HTTP timeout in seconds (overrides TENSORMESH_TIMEOUT_SECONDS; subcommands may override).
--max-retriesintegernoMax retries for idempotent HTTP requests on transient errors (overrides TENSORMESH_MAX_RETRIES; subcommands may override).
--controlplane-basetextnoOverride the Control Plane base URL.

Prerequisites

  • Set gateway_api_key under [overrides] in config.toml so tm auth status reports the inference API key as present.

Caveats

  • Reports local credential presence. Use tm auth whoami to live-validate Control Plane auth.

Parent Command