Skip to main content
POST
Create or Update Secret
Creates a secret, or replaces the value if the name already exists (use this for key rotation — configs referencing vault:<name> pick up the new value automatically).

Body Parameters

string
required
Secret name: lowercase letters, digits, _ or -, max 64 characters. Example: pdl_api_key.
string
required
The secret value. Encrypted at rest; never returned by any API.

Examples

cURL

Response

Use the returned reference wherever feature config accepts a secret — for example an enrichment provider header: