Depot Cache supports authenticating with user tokens and organization tokens. Additionally, Depot GitHub Actions runners are pre-configured with a token that is active for a single job, which is set as environment variable called DEPOT_CACHE_TOKEN.
Project tokens are not supported for Depot cache because only container builds use projects.
User tokens are used to authenticate as a specific user and can be generated from your user settings page.
Organization tokens are used to authenticate as an organization. These tokens can be generated from your organization's settings page.
Depot GitHub Actions runners are pre-configured with a token that is active for a single job (DEPOT_CACHE_TOKEN). If you are using the automatic Depot Cache integration with Depot runners, you do not need to manually configure authentication.
For specific details on how to configure your build tools to authenticate with Depot Cache, refer to the following guides: