Mint a code:run key for a service account
POST /api/v1/code/service-accounts/{serviceAccountId}/keys on the Caveman Cloud control plane. Requires the org:update scope. Not exposed to autonomous agents: Service accounts, their code:run keys and the organization's Code policy are a person's decisions (org:update). No agent connection mints credentials, disables an account or changes the policy.
post/code/service-accounts/{serviceAccountId}/keys
Request
- Base URLhttps://api.caveman.so/api/v1
- URLhttps://api.caveman.so/api/v1/code/service-accounts/{serviceAccountId}/keys
- Auth
- OAuth 2Authorization code: /api/v1/oauth/authorizeToken URL: /api/v1/oauth/token scopes: org:update
- or HTTP bearer
- or API key in cookie cave_access
- or API key in cookie __Secure-cave_identity.session_token
Request body
Response
The key, with full_key shown once
Changes
No recorded changes to this operation across all 1 revision of this API.