Vault
Store Secret in Vault
Store or update a secret in the DeepSecure vault. Secrets are used for secure API key management and injection at runtime.
post/vault/store
Request body
Example request
{
"name": "openai-api-key",
"value": "sk-...",
"secret_metadata": {
"target_base_url": "https://api.openai.com",
"description": "OpenAI API key for production",
"labels": {
"env": "prod"
}
}
}Response
Secret stored successfully
Example response
{
"name": "openai-api-key",
"message": "Secret stored successfully"
}