Affects Version/s: 0.5.0
Fix Version/s: 0.5.0
Steps to reproduce :
- Create a ranger kms policy with keyname as test*
- Provide create_key permission to the testuser
- Execute hadoop key create command as the testuser (with a keyname test1)
Key should be created
Key is not created, failing with error message user does not have permission.
Issue seems to be caused by resource_name is calculated wrongly and apparently "kms" comes as the resource name for all requests. Verified this via audit page.