~/.trussrc (and the OS keyring, when available).
truss login is an alias for truss auth login.
With no flags, it runs interactively and prompts you to choose between pasting an API key and logging in through your browser.
To authenticate non-interactively, pass --browser or --api-key.
For details on how Truss stores credentials and how to manage multiple remotes, see truss auth.
Options
--browser
Log in through your browser using the OAuth device flow. Mutually exclusive with
--api-key.Baseten API key. If provided, the command runs in non-interactive mode. Mutually exclusive with
--browser.Name of the remote to create or update in
~/.trussrc. Defaults to baseten.Logging verbosity.
humanfriendly (default) is pretty-printed; INFO, DEBUG, WARNING produce structured logs.--non-interactive
Disable interactive prompts. Use in CI/automated contexts where stdin isnβt a TTY.