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.

How to check version of a Ranger KMS key?

Highlighted

How to check version of a Ranger KMS key?

Contributor

I followed this URL and rolled over my sample Ranger KMS key.

https://docs.hortonworks.com/HDPDocuments/HDP3/HDP-3.0.1/configuring-hdfs-encryption/content/rolling...

Is there any command or any way to check the version of encrypting key? Please share the information.

Thanks in advance.

1 REPLY 1

Re: How to check version of a Ranger KMS key?

Rising Star

@Dhiraj try with the below api

curl -X GET 'http://<kms host>:<port>/kms/v1/key/<keyname>/_versions?user.name=keyadmin'

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