v1

latestOpenAPI 3.0.32026-07-26172157253.6 KB
Admin

Create a new secret

Create a new encrypted secret with a unique key

post/api/secrets

Request body

keystring required

Unique key identifier (uppercase letters, numbers, underscores only)

valuestring required

Secret value to be encrypted

isReservedboolean

Whether the secret is protected from deletion

expiresAtstring date-time nullable

Optional expiration date for the secret

Example request

{
  "key": "STRIPE_API_KEY",
  "value": "sk_live_..."
}

Response

Secret created successfully

successboolean
messagestring
idstring uuid