POST
/
api
/
v1
/
dynamic-secrets
/
leases

Body

application/json
dynamicSecretName
string
required

The name of the dynamic secret.

Minimum length: 1
projectSlug
string
required

The slug of the project of the dynamic secret in.

Minimum length: 1
environmentSlug
string
required

The path of the dynamic secret in.

Minimum 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.

Response

200 - application/json
lease
object
required
dynamicSecret
object
required
data
any

Was this page helpful?