Skip to main content

Usage

Examples

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

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

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.

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