Skip to main content
POST
Create an environment variable

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
key
string
required

Starts with a letter or underscore and contains only letters, digits, or underscores. Unique in the organization.

Example:

"OPENAI_API_KEY"

value
string

The value. Write-only: it is never returned.

Example:

"sk-proj-1234"

secrets_provider
enum<string>

Read the value from this secrets manager at runtime instead of storing it. Requires secrets_key.

Available options:
aws,
azure,
gcp
Example:

"aws"

secrets_key
string

The secret's name in the secrets manager.

Example:

"prod/openai"

Response

Created

data
object
required