Secrets API
Manage encrypted credentials in the Secret Vault. All endpoints require tenant-level authentication. Secret values are never returned in responses.
Create Secret
Auth: Tenant API key
Request Body:
Response (201):
Errors:
409 — Secret with this name already exists
List Secrets
Returns metadata for all secrets in the tenant. Values are never included.
Auth: Tenant API key
Response:
Get Secret
Returns metadata for a single secret.
Auth: Tenant API key
Update Secret
Updates the secret value, creating a new encrypted version.
Auth: Tenant API key
Request Body:
Delete Secret
Soft-deletes a secret.
Auth: Tenant API key
Response:
Deleting a secret will cause any routes referencing it to fail. Ensure no active routes depend on the secret before deletion.
Rotate Secret
Creates a new version of the secret with a new value. Routes automatically use the latest version.
Auth: Tenant API key
Request Body:
Response:
Key benefits of rotation:
- Zero downtime — routes use the latest version automatically
- No redeployment — agent containers don’t change
- Audit trail — rotation events are logged