Skip to main content
truss login [OPTIONS]
Authenticates with Baseten, storing the API key in the local configuration file. If used with no options, runs in interactive mode. Otherwise, the API key can be passed as an option.

Options

--api-key
TEXT
Baseten API key. If provided, the command runs in non-interactive mode.
Example: To authenticate interactively, use the following:
truss login
To authenticate with your API key, use the following:
truss login --api-key YOUR_API_KEY