Skip to main content
POST
Create a new project secret

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Project-ID
string
required

Body

application/json

Request body for creating a secret.

name
string
required

Secret name (e.g., 'credentials')

value
string
required

Secret value as string. Structure depends on the resource type. For more complex secrets this can be a serialized JSON string.

description
string | null

Optional description of the secret

Response

Successful Response

Response body for a newly created secret.

name
string
required

Name of the created secret

created_at
string<date-time>
required

Timestamp when the secret was created