Switching to different aws kms key id (with the same key material)

The problem is also discussed here:

We need to plan for a scenario where someone accidentally deletes a KMS key, or KMS itself is inaccessible in a region.

Another option considered was to import custom key material into a new KMS key. Because the old encrypted data references the original KMS key id, this doesn’t work when that key no longer exists.

As I understand, the key ID is randomly generated.

2 Likes