v1

latestOpenAPI 3.0.02026-07-26242779.3 KB

Create or update a secret set

Create a new secret set or update an existing one. Supports both regular secrets (multiple key-value pairs) and image pull secrets.

Provisioning is asynchronous: the response is 202 Accepted once the values have been stored, and the secret set is then provisioned into the target region in the background. Use GET /secrets/{setName} to observe the readiness status (pendingready). Deploys that bind a secret set whose status is not ready are rejected with 409 Conflict.

put/secrets/{setName}

Path parameters

setNamestring required

Name of the secret set to create or update

Request body

OR

Example request

{
  "region": "us-west"
}

Response

Secret set accepted. Values have been stored and the set is being provisioned into the target region in the background. Poll GET /secrets/{setName} until status is ready before binding it to a deploy.

status'OK' required
regionstring required

The region where the secret set was created or exists