Skip to main content

Create Secret

POST/api/v1/vault/

Query parameters

  • project_idQueryintegerrequired
  • locationQuerystringrequired

    Deployment region for the resource. Accepted values: Delhi, Chennai.

    Mumbai region has been discontinued. Delhi and Chennai are the only supported regions.

Request body

application/json

object
namestringrequired

Name of the secret

plan_idintegerrequired

Plan ID for the secret

Responses

200Successful response when a secret is created
object
codeinteger
example200
dataobject
errorsobject
messagestring
exampleSecret created successfully.