Skip to Content

Tokens

Glubean Cloud uses two token types. Most teams only need one rule: use project tokens by default.

Project token (gpt_)

Use this for:

  • CI uploads
  • shared team automation
  • local work on one project

Properties:

  • created in Project Settings → Tokens
  • scoped to one project
  • permissioned by scopes such as runs:write
  • easy to revoke without touching a user account

User API key (gb_)

Use this when one person needs access across multiple projects from one credential.

Properties:

  • created in Account Settings → API Keys
  • scoped to whatever that user can access
  • useful as a personal fallback
ScenarioRecommended token
CI uploadsgpt_
Shared automationgpt_
Local work on one projectgpt_
Personal work across many projectsgb_

Where to store it

LocationBest for
.env.secretslocal project work
CI secret storeCI uploads
~/.glubean/credentials.json via glubean loginpersonal fallback
package.json glubean.clouddemos and short-lived setups only

Minimal scope for uploads

For CI upload, a project token only needs runs:write.

Next

Last updated on