KMS Keys

Rotate KMS key. Generates new key material for the key and increments its version. Previous key material is retained so existing ciphertexts remain decryptable; new encrypt operations use the new material. Only supported for encrypt-decrypt keys.

post/api/v1/kms/keys/{keyId}/rotate

Request

  • Base URL
    https://us.infisical.com
  • URL
    https://us.infisical.com/api/v1/kms/keys/{keyId}/rotate
  • Auth
    none declared

Path parameters

keyIdstring uuid required

The ID of the key to be rotated.

Response

Default Response

Changes

    • info

      added the optional property / to the response with the status

    • breaking

      removed the required property / from the response with the status

    • info

      added the required property / to the response with the status