Skip to main content
POST
Store a workspace secret

Authorizations

Authorization
string
header
required

Obtain a token via the CLI auth flow (POST /v1/auth/sessions) or GitHub OAuth

Path Parameters

workspace_id
string<uuid>
required

UUIDv7 of the workspace.

Body

application/json
name
string
required

Secret identifier a Fleet interpolates as ${secrets.<name>.<field>}.

Maximum string length: 64
data
object
required

JSON object whose top-level keys are the field names a skill references via ${secrets.<name>.<field>}. The runtime never inspects the schema — this is opaque to the platform.

Response

Created

name
string