latestOpenAPI 3.1.02026-08-20118232229.3 KB

0e42b0fb26d9

Create Tower-provided sandbox secrets

Creates secrets with Tower-provided default values for the specified keys in the given environment.

post/sandbox/secrets

Request body

$schemastring uri

A URL to the JSON Schema for this object.

environmentstring required

Environment to create secrets in

secret_keysstring[] required

List of secret keys to create with Tower defaults

Example request

{
  "$schema": "https://api.tower.dev/v1/schemas/CreateSandboxSecretsParams.json"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

createdstring[] required

List of secret keys that were created

Example response

{
  "$schema": "https://api.tower.dev/v1/schemas/CreateSandboxSecretsResponse.json"
}