Skip to main content
PATCH
cURL

Path Parameters

ruleId
string<uuid>
required

The ID of the Dynamic Secrets Validation Rule to update.

Body

application/json
name
string

The updated name of the Dynamic Secrets Validation Rule.

Required string length: 1 - 64
description
string | null

The updated description of the Dynamic Secrets Validation Rule.

Maximum string length: 500
environment
string | null

The slug of the environment to scope this rule to. Pass null to enforce the rule in every environment of the project.

Required string length: 1 - 64
secretPath
string

The secret path to scope this rule to. Supports glob patterns such as /apps/**.

Required string length: 1 - 1024
isActive
boolean

Whether the rule is enforced. An inactive rule is kept but ignored.

providers
enum<string>[]

The dynamic secret providers this rule applies to. A lease is only constrained when its provider is listed here.

Minimum array length: 1
Available options:
sql-database,
milvus
passwordConstraints
object

Constraints the generated password must satisfy. These replace any password requirements configured on the resource itself.

Response

Default Response

secretValidationRule
Dynamic Secrets · object
required