VaultVariables

Create a secret vault variable

Create a vault variable for the organization. The value is write-only: it is stored but never returned.

post/vault-variables/secret

Request

  • Base URL
    https://public.escape.tech/v3
  • Auth
    API key in header X-ESCAPE-API-KEY

Request body

type'SECRET' required
namestring required

The name of the variable, referenced from scan configs as ${NAME}

valuestring required

The secret value. Write-only: never returned by the API.

Example request

{
  "name": "MY_VARIABLE",
  "value": "hunter2"
}

Response

OK

idstring uuid required

The id of the vault variable

type'EXTERNAL' | 'PLAINTEXT' | 'SECRET' required

The type of the vault variable

namestring required

The name of the vault variable, referenced from scan configs as ${NAME}

Changes

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