Secret Rotations

POST /api/v2/secret-rotations/clickhouse-credentials

Changed on

Create a ClickHouse Credentials Rotation for the specified project.

Request

Request body

namestring required

The name of the ClickHouse Credentials Rotation to create. Must be slug-friendly.

projectIdstring required

The ID of the project to create the rotation in.

descriptionstring nullable

An optional description for the ClickHouse Credentials Rotation.

connectionIdstring uuid required

The ID of the ClickHouse Connection to use for rotation.

environmentstring required

The slug of the project environment to create the rotation in.

secretPathstring required

The secret path of the project to create the rotation in.

isAutoRotationEnabledboolean

Whether secrets should be automatically rotated when the specified rotation interval has elapsed.

rotationIntervalnumber required

The interval, in days, to automatically rotate secrets.

Response

Default Response

Changes