D

Depot CLI

CLI discovered

Details
Command
depot
Docs
https://depot.dev/docs/cli/reference/overview
Authentication
Depot user access token bearer discovered Get token ↗
$ depot login

In the Depot account settings, use the API Tokens section to create a user access token, or run depot login locally to have Depot create and store one for the CLI. User tokens are tied to your Depot account and are recommended for local development, not CI.

Depot organization API token bearer discovered Get token ↗
env DEPOT_TOKEN

Open Organization Settings, enter a description under API Tokens, and click Create token. This organization-scoped token can be used for the Depot API, Depot CI, Cache, Registry, Agents, and CLI automation.

Depot project token bearer discovered Get token ↗
env DEPOT_TOKEN

Go to the Projects page, open a project, click Settings, then under Project Tokens create a token and copy it. Project tokens are scoped to a single project and are intended for container-build use cases, especially CI where OIDC is not available.

Depot OIDC trust relationship two_step discovered Get key ↗
env DEPOT_TOKEN

Configure a trust relationship on a project in the Projects page: open the project, go to Settings, and add a provider under Trust Relationships. Depot supports GitHub Actions, CircleCI, Buildkite, and RWX. In CI, the job presents its provider OIDC identity and Depot exchanges it for a temporary token valid for that job.