Skip to main content
POST
cURL

Body

application/json
dynamicSecretName
string
required

The name of the dynamic secret.

Minimum string length: 1
projectSlug
string
required

The slug of the project of the dynamic secret in.

Minimum string length: 1
environmentSlug
string
required

The slug of the environment of the dynamic secret in.

Minimum string length: 1
ttl
string

The lease lifetime TTL. If not provided the default TTL of dynamic secret will be used.

path
string
default:/

The path of the dynamic secret in.

config
any

Response

Default Response

lease
object
required
dynamicSecret
object
required
data
any