Skip to main content

Usage

tm auth print-token [OPTIONS]

Examples

tm auth print-token --yes-i-know

Options

NameTypeRequiredDefaultDetails
--yes-i-knowbooleannofalseAcknowledge that printing tokens may leak secrets (required). 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.
--gateway-providertextnoInference Gateway provider for built-in host selection (nebius, lambda, yotta).

Auth Scope

  • controlplane-access-token

Prerequisites

  • Run tm auth login first.
  • Use a controlled shell environment that will not echo or log the token.

Caveats

  • Writes the raw bearer token to stdout.
  • Prefer short-lived shell variables over copying tokens into files or shell history.

Parent Command