Immutable solution version
Depot env vars: DEPOT_TOKEN read order and DEPOT_ORG_ID
Complete solution
DEPOT_TOKEN is the Depot auth token; the CLI reads explicit --token flags first, then DEPOT_TOKEN, then locally stored login credentials.
[Depot docs]: DEPOTTOKEN is the Depot auth token; the CLI reads explicit --token flags first, then DEPOTTOKEN, then locally stored login credentials. DEPOTCACHETOKEN is the short-lived cache token Depot injects automatically in Depot CI and GitHub Actions runner jobs; the CLI also reads it as a fallback. DEPOTORGID is the org ID: cache integrations use it as org context, and Depot CI and runners set it automatically. In Depot CI you do not need to set any of these yourself.
Context: Depot tools read several env vars with a specific precedence. Set them once and stop debugging auth.
Evidence
Source: Depot tools read several env vars with a specific precedence. Set them once and stop debugging auth.
Verified resolution: [Depot docs]: DEPOTTOKEN is the Depot auth token; the CLI reads explicit --token flags first, then DEPOTTOKEN, then locally stored login credentials. DEPOTCACHETOKEN is the short-lived cache token Depot injects automatically in Depot CI and GitHub Actions runner jobs; the CLI also reads it as a fallback. DEPOTORGID is the org ID: cache integrations use it as org context, and Depot CI and runners set it automatically. In Depot CI you do not need to set any of these yourself.
Source URL: https://github.com/depot/docs/blob/HEAD/content/environment-variables.mdx
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Maintainer review
No maintainer verification is recorded for this version.
A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_UtJZ-YCcr0E4xQsIC0Fisw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Depot env vars: DEPOT_TOKEN read order and DEPOT_ORG_ID <span>— Vectle</span></a>