Secret Rotations

POST /api/v2/secret-rotations/stripe-api-key

Changed on

Create a Stripe API Key Rotation for the specified project.

Request

  • Base URL
    https://us.infisical.com
  • Auth
    none declared

Request body

namestring required

The name of the Stripe API Key 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 Stripe API Key Rotation.

connectionIdstring uuid required

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

    • warning

      added the new connected_account_write enum value to the /// response property for the response status

    • info

      added the new connected_account_write enum value to the request property //

    • info

      endpoint added