Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Change KMS Key Length

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
Highlighted

Re: Change KMS Key Length

@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.

Don't have an account?
Coming from Hortonworks? Activate your account here