Please rotate your device

To continue exploring this website, please rotate your device to a vertical orientation

Changelog

Authenticate from the CLI with Truss login

Date

As a part of using Baseten in CI/CD jobs, we now support a truss login CLI command that allows you to pass an API Key to authenticate. You no longer have to manually edit a ~/.trussrc file.

This is available both as a CLI command:

bash
truss login --api-key $BASETEN_API_KEY

And as part of the Python SDK:

python
import truss

truss.login(api_key="YOUR_BASETEN_API_KEY")

Check out the full reference for more information.