Secrets

Create a new secret

POST
/deployments/secrets

Create a new secret to store sensitive configuration values

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

Secret configuration

description?string

Description is an optional human-readable description of the secret's purpose (max 500 characters)

Lengthlength <= 500
name*string

Name is the unique identifier for the secret. Can contain alphanumeric characters, underscores, hyphens, forward slashes, and periods (1-100 characters)

Length1 <= length <= 100
project_id?string

ProjectID is ignored - the project is automatically determined from your authentication

value*string

Value is the sensitive data to store securely (e.g., API keys, passwords, tokens). Encrypted at rest.

Length1 <= length

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/deployments/secrets" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "value": "string"  }'
{  "created_at": "string",  "created_by": "string",  "description": "string",  "id": "string",  "last_updated_by": "string",  "name": "string",  "object": "secret",  "updated_at": "string"}