- Infisical encrypts new data with the new key material
- Infisical keeps every earlier version of the key material, and decrypts each ciphertext with the version that encrypted it
- Infisical doesn’t re-encrypt data you encrypted before the rotation. To move that data to the new key material, decrypt the data and encrypt it again
Prerequisites
- An Encrypt/Decrypt key that isn’t disabled
- The Admin or Member role in the key’s project
Rotate a key
- Infisical UI
- API
1
In your KMS project, go to Overview, select the options menu on the key’s row, then select Rotate Key.
2
Type
confirm, then select Rotate.