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
Log in through your browser using the OAuth device flow. Mutually exclusive with
--api-key.TEXT
Baseten API key. If provided, the command runs in non-interactive mode. Mutually exclusive with
--browser.TEXT
Name of the remote to create or update in
~/.trussrc. Defaults to baseten.humanfriendly | W | WARNING | I | INFO | D | DEBUG
default:"humanfriendly"
Logging verbosity.
humanfriendly (default) is pretty-printed; INFO, DEBUG, WARNING produce structured logs.Disable interactive prompts. Use in CI/automated contexts where stdin isnβt a TTY.