Skip to main content
PATCH
cURL

Path Parameters

ruleId
string<uuid>
required

The ID of the Secret Rotations Validation Rule to update.

Body

application/json
name
string

The updated name of the Secret Rotations Validation Rule.

Required string length: 1 - 64
description
string | null

The updated description of the Secret Rotations 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 secret rotation providers this rule applies to. A rotation is only constrained when its provider is listed here.

Minimum array length: 1
Available options:
postgres-credentials,
mysql-credentials,
mssql-credentials,
oracledb-credentials,
unix-linux-local-account,
ldap-password
passwordConstraints
object

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

Response

Default Response

secretValidationRule
Secret Rotations · object
required