Create and issue
Creation requires an interactive human withservice_accounts.manage in every assigned workspace. Credential issue/revocation requires api_credentials.manage for every workspace included by the token. Requests also require a fresh X-Sandbox-Request-Time.
The creation response is metadata. The token-issue response contains credential.token exactly once.
Client assertion exchange
Register a workspace-bound Ed25519 SPKI public key. Sign a compact JWT withalg=EdDSA, the registered kid, and:
- identical service-account UUID values for
issandsub; - audience equal to the public control-plane URL plus
/v1/service-account-assertions/token; iat,exp, and a unique 16–200 characterjti;- at most a five-minute assertion lifetime; and
sandbox_scopes,sandbox_workspace_ids, andsandbox_environment_idsarrays.
jti values are rejected.
See Service accounts and tokens for lifecycle and API reference for request bodies.