v1
latestOpenAPI 3.0.1MIT2026-07-26104203277.0 KBCreate a Secret
Creates a new secret for the specified project. Secrets are encrypted and stored securely.
post/v1/projects/secrets
Request body
Example request
{
"name": "API_KEY",
"value": "super-secret-value",
"description": "Production API key",
"tags": [
"production",
"api"
]
}Response
Secret created successfully
Example response
{
"success": true,
"message": "success",
"data": {
"id": "ed9b5601-f731-441a-8500-d9fc7610ef8f",
"name": "API_KEY",
"description": "Production API key",
"tags": [
"production",
"api"
],
"createdAt": "2024-12-15T00:00:00.000Z",
"updatedAt": "2024-12-15T00:00:00.000Z"
}
}