Create a service token

automation & ci

// what it does

Mints an org-scoped API credential for automation — the identity your CI pipeline, GitHub Action, or provisioning script uses instead of a human login. --name it after the pipeline and --ttl it if the automation is temporary.

// shell

$ pscale service-token create --name deploy-pipeline

// gotcha

The token secret is displayed once; store it directly into your CI secret store (e.g. GitHub Actions secrets). A fresh token can do nothing until you grant it access — and note you can't create or manage service tokens while authenticated AS a service token; token management requires your human login.

// resources