Secrets
Create secrets for an environment
Adds or updates secrets on the project. Send ?editor=true to replace the whole set: secrets not in the request are deleted.
Values are encrypted at rest. The response echoes the secrets you sent. When you list them later, values come back encrypted; use POST /v1/decrypt to read them.
API key scope: env.write
Team role permission: env.write
POST
Create secrets for an environment
Authorizations
Path Parameters
Query Parameters
Body
application/json
Last modified on October 31, 2026