Documentation Index
Fetch the complete documentation index at: https://docs.knoxcall.com/llms.txt
Use this file to discover all available pages before exploring further.
Create Secret
secret_type to choose the variant — the default is string.
For type-specific convenience endpoints see Create OAuth2 Secret and Create Certificate Secret.
Secret names are normalized: spaces are replaced with underscores. For example,
"Stripe API Key" becomes STRIPE_API_KEY. The normalized name is returned as both name and shortcode_name.String Secret
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Display name for the secret (spaces → underscores) |
value | string | Yes | The secret value to encrypt and store |
collection_id | uuid | No | Assign to a collection |
expires_at | string | No | ISO-8601 datetime after which the secret is considered expired |
strict_expiry_enforcement | boolean | No | If true, injection is blocked when the secret is expired. Defaults to false (warn-only) |
Response
Errors
| Status | Type | Description |
|---|---|---|
| 400 | validation_error | Missing required fields or invalid collection |
| 403 | plan_limit | Secret limit reached for your subscription plan |
| 409 | conflict | A secret with this name already exists |