v1

latestOpenAPI 3.1.02026-07-13231960.5 KB
Secrets

Create a new secret

Create a new secret in your organization. The secret value will be encrypted and stored securely.

post/v1/secrets

Request body

type'cookie' | 'key-value' | 'totp' required

Type of secret

keystring required

User-defined name for the secret

valuestring required

The secret value to store

sensitiveboolean required

Whether the secret should be treated as sensitive

notestring required

Optional note about the secret

Response

Secret created successfully

idstring required

The unique identifier of the created secret