Skip to main content
POST
Create Secret

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required

Name of the secret (must start with uppercase, only uppercase, numbers, underscores)

Required string length: 1 - 255
Pattern: ^[A-Z][A-Z0-9_]*$
value
string
required

The secret value to store (will be encrypted)

Minimum string length: 1
description
string | null

Optional description of the secret

Maximum string length: 500
teamId
string | null

Optional team ID for team-level secrets

isFile
boolean
default:false

Whether this secret represents a file (max 64KB base64 encoded)

Response

Successful Response

data
SecretResponse · object | null

Response data

status
string | null

Response status