POST
/
api
/
v1
/
dynamic-secrets

Body

application/json
projectSlug
string
required

The slug of the project to create dynamic secret in.

provider
object
required

The type of dynamic secret.

defaultTTL
string
required

The default TTL that will be applied for all the leases.

maxTTL
string | null

The maximum limit a TTL can be leases or renewed.

path
string
default: /

The path to create the dynamic secret in.

environmentSlug
string
required

The slug of the environment to create the dynamic secret in.

name
string
required

The name of the dynamic secret.

Response

200 - application/json
dynamicSecret
object
required

Was this page helpful?