Create custom secret
POST /api/v1/secrets
Create or update a custom secret. Creates a new custom secret, or overwrites it if it already exists. Returns: 201: Secret saved successfully 500: Error saving secret
Request body
| Field | Type | Required | Description |
|---|---|---|---|
name | string | yes | — |
description | `string | null` | no |
value | string | yes | — |
Responses
| Status | Description |
|---|---|
201 | Successful Response |
422 | Validation Error |
Response body
| Field | Type | Required | Description |
|---|---|---|---|
message | string | yes | — |
Operation ID: create_custom_secret_api_v1_secrets_post