Add a secret to a site
Encrypts and stores a new secret on this site, then injects it into the live worker as an environment variable (asynchronously, if the site is deployed). The decrypted value is returned only in this response — store it if you need it, as later list responses expose just last4. Names must be valid environment-variable identifiers and may not use the reserved CREVIO_ prefix.
Authorizations
API key in the format: Bearer {api_token}
Path Parameters
The resource ID (e.g., "prod_abc123") or slug (e.g., "my-product")
Body
Environment-variable name (e.g. STRIPE_SECRET_KEY). Uppercase letters, digits, and underscores; cannot start with a digit or use the reserved CREVIO_ prefix.
The secret value to encrypt and inject.
Optional human-readable note about what this secret is for.

