Skip to content

Access tokens ​

Tokens are scoped per plane. Plaintext appears only on create; later GET responses omit it.

When to use ​

Public projects can skip a project token. Turn tokens on for private check, hidden channels, CI publish, or store-feed auth.

Configuration entry ​

  • Tokens: project and CI tokens. Tokens
  • Settings → Security: store token, Require client token for checks
  • Channels: channel token
  • Admin session: login cookie/Bearer; TTL in Security settings

Rules and error codes ​

KindScopeFailure
Project tokenClient plane when require_client_token; X-Project-Token or Authorization: Bearer401 UNAUTHORIZEDMissing/invalid credentials
CI tokenAdmin-plane CI upload/publish403 FORBIDDENInsufficient permission (including project-only access to /admins, /geoip, /nodes) off-scope
Store listing tokenStoreAuth on feeds401; missing listing is plaintext 404
Channel tokenX-Channel-Tokencheck is not 403; skip that channel
Admin sessionCookie/Bearer; idle sliding TTL401; project members hitting /admins get 403 FORBIDDENInsufficient permission (including project-only access to /admins, /geoip, /nodes)

Client duties ​

Do not log tokens. Lost plaintext cannot be recovered; revoke and create again.

Related: CI releases, Store listings.