Skip to main content
POST
Create Secret
Create a new encrypted secret that can be used in Devin sessions. The secret will be available to all sessions created after the secret is added.

Request Body

string
required
Type of secret. Must be one of: cookie, key-value, totp
string
required
User-defined name for the secret. Must be unique within the organization.
string
required
The secret value to store. Will be encrypted at rest.
boolean
required
Whether the secret should be treated as sensitive and redacted in logs.
string
required
Optional note describing the secret’s purpose.

Response

string
The unique identifier of the created secret