Secrets

Attach Revision Secret

Attach an env-var secret to a revision so its keys are injected into Runs spawned from that revision. Personal secrets can only be attached by their owner; team-shared secrets require builder permissions.

post/v2/agents/{agentId}/revisions/{buildId}/credentials

Request

Path parameters

agentIdstring uuid required
buildIdstring uuid required

Request body

credentialIdstring uuid required

Response

Default Response

successboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.