Starting with release 10.5.3, you can use on-demand key rotation with BYOK, with native AWS support for key versions. The following caveats apply to on-demand key rotation:
Only AES keys can be rotated using on-demand rotation. Non-symmetric encryption keys and HMAC keys are not supported.
AWS places an upper limit on the number of on-demand rotations. You can only rotate a key using on-demand rotations this many times. For more information, see: https://docs.aws.amazon.com/kms/latest/developerguide/rotating-keys-on-demand.html.
You can delete key versions created using on-demand rotation only from the cloud or by uploading them to the cloud. You cannot disable them or schedule them for deletion.
When the master key is scheduled for deletion, all versions of the key created using on-demand rotation are also scheduled for deletion.
For CSP Vault Release 10.6.1 and earlier:
Keys that use on-demand rotations, where AWS creates the key material, cannot be imported into a CSP Vault for Cloud Keys.
To enable on-demand key rotation for AWS AES keys with BYOK
Create a CloudKey for AWS BYOK.
On the Purpose tab, select AES-256 for the algorithm.
Check the Use on-demand key rotation for new versions checkbox.
Continue creating the key as normal.
After the key is created, click the Details tab and scroll down to the Rotation Schedule section.
Check that the new Use on-demand rotations field reads True.
If this value is set to False, you can change it to True if the key only has a single version.
- If it is set to True, you cannot modify its value.