Skip to main content

Usage

tm auth login [OPTIONS]

Examples

Start the browser login flow and store Control Plane tokens locally.

tm auth login
tm auth login --no-open-browser

Fail the login flow if the browser exchange is still pending after 60 seconds.

tm auth login --no-open-browser --max-wait-seconds 60

Options

NameTypeRequiredDefaultDetails
--no-open-browserbooleannofalseDo not open the browser automatically (prints URL instead). Boolean flag.
--max-wait-secondsfloatno300.0Maximum total wait time for the browser login flow before failing.
--timeoutfloatnoHTTP timeout in seconds for the login flow.

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).
--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-browser-login

Prerequisites

  • Access to a browser that can complete the Tensormesh login flow.

Caveats

  • Tokens are stored locally after login completes.
  • The login flow fails closed after 300 seconds unless --max-wait-seconds overrides it.

Parent Command