It's quite easy to create roles for policies and also list them in HashiCorp Vault:

vault write auth/jwt/role/myrolename ...
list auth/jwt/role

However, I can't find anything regarding how to display role details. Strange enough, the UI does not contain the section "roles".

Is it possible to access role details for an existing role?


Yes, it's possible as following:

vault read -format=json auth/jwt/role/ROLENAME

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.