Secret Validation Rules

Update the specified Secret Rotations Validation Rule.

patch/api/v1/secret-validation-rules/secret-rotations/{ruleId}

Path parameters

ruleIdstring uuid required

The ID of the Secret Rotations Validation Rule to update.

Request body

namestring

The updated name of the Secret Rotations Validation Rule.

descriptionstring nullable

The updated description of the Secret Rotations Validation Rule.

environmentstring nullable

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

secretPathstring

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

isActiveboolean

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

providersstring[]

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

Response

Default Response

Changes

Changed in 1 of the 38 revisions of this API.1