Skip to main content
Issue a scoped machine credential

Authorizations

Authorization
string
header
required

Opaque Firedrill interactive or scoped machine credential. The CLI handles human-approved login; CI stores its scoped credential as FIREDRILL_TOKEN. Capabilities and project/environment ownership are rechecked at use.

Headers

Idempotency-Key
string
required

Save a unique stable key for this exact logical action, at most 200 characters. Reuse it with identical input after an uncertain response. A new key is new intent; it must not be used merely to recover an accepted action.

Required string length: 1 - 200

Body

application/json
schemaVersion
string
required
Allowed value: "2026-10-14-credential.1"
label
string
required
Required string length: 1 - 100
Pattern: ^[^\u0000-\u001f\u007f]+$
projectId
string
required
Pattern: ^prj_[a-f0-9]{24}$
environmentId
string
required
Pattern: ^env_[a-f0-9]{24}$
capabilities
enum<string>[]
required
Required array length: 1 - 8 elements
Available options:
read,
runs:write,
runs:execute,
assessments:create,
services:publish,
services:create,
services:invoke,
services:control
expiresInSeconds
integer
default:2592000
Required range: 60 <= x <= 7776000

Response

The retained resource or operation response.

credential
object
required
token
string
required