Secrets

Create a new secret

Create a new secret in your organization. The secret value will be encrypted and stored securely.

post/v1/secrets

Request

  • Base URL
    https://api.devin.ai
  • URL
    https://api.devin.ai/v1/secrets
  • Auth
    HTTP bearer

Request body

type'cookie' | 'key-value' | 'totp' required

Type of secret

keystring required

User-defined name for the secret

valuestring required

The secret value to store

sensitiveboolean required

Whether the secret should be treated as sensitive

notestring required

Optional note about the secret

Response

Secret created successfully

idstring required

The unique identifier of the created secret

Changes

No recorded changes to this operation across all 1 revision of this API.