POST
/
api
/
v1
/
dynamic-secrets

Body

application/json
projectSlug
string
required

The slug of the project to create dynamic secret in.

Minimum length: 1
provider
object
required

The type of dynamic secret.

defaultTTL
string
required

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

environmentSlug
string
required

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

Minimum length: 1
name
string
required

The name of the dynamic secret.

Required string length: 1 - 64
maxTTL
string | null

The maximum limit a TTL can be leases or renewed.

path
string
default: /

The path to create the dynamic secret in.

Response

200 - application/json
dynamicSecret
object
required

Was this page helpful?