I am using HDP sandbox with Ranger KMS installed as KMS Server. I fired below command on sandbox.
hadoop key create testKey
I got below exception as a result.
testKey has not been created. org.apache.hadoop.security.authorize.AuthorizationException: User:root not allowed to do 'CREATE_KEY' on 'testKey'
Any pointer on this?