v4

latestOpenAPI 3.0.32026-07-312,317012.2 MB
Secret Rotations

Create an AWS IAM User Secret Rotation for the specified project.

post/api/v2/secret-rotations/aws-iam-user-secret

Request body

namestring required

The name of the AWS IAM User Secret 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 AWS IAM User Secret Rotation.

connectionIdstring uuid required

The ID of the AWS 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