Support Questions
Find answers, ask questions, and share your expertise

Change KMS Key Length

Hi,

We have KMS keys that are in 128 bit length. Is there any way to change their length from 128 to 256 ?

 

For new keys, we know that using "hadoop key <keyname> -size 256" will create a key with 256 bit length. But, for existing keys, is there any way to change the length ?

1 REPLY 1

@mdh_raghavendra: I think there is no way to update the existing key with length because the data which is using that 128 length will be invalidate. For best practice you have create a new key with 256 length and copy the data though NN to use the newly created 256 length.

 

Hope this helps you.

 

Thanks, Sridhar.