Secrets
Create a new secret
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)
Length
length <= 500name*string
Name is the unique identifier for the secret. Can contain alphanumeric characters, underscores, hyphens, forward slashes, and periods (1-100 characters)
Length
1 <= length <= 100project_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.
Length
1 <= lengthResponse 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"}