POST
/
api
/
v1
/
dynamic-secrets
/
leases

Body

application/json
dynamicSecretName
string
required

The name of the dynamic secret.

projectSlug
string
required

The slug of the project of the dynamic secret in.

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.

environmentSlug
string
required

The path of the dynamic secret in.

Response

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

Was this page helpful?