<p>Yes, it's possible as following:</p>
<pre><code>vault read -format=json auth/jwt/role/ROLENAME
</code></pre>

CC BY-SA 4.0
2021-07-11T08:02:56.003Z
2021-07-11T08:02:56.003Z
Ta Mu
<p>It's quite easy to create roles for policies and also list them in HashiCorp Vault:</p>
<pre><code>vault write auth/jwt/role/myrolename ...
...
list auth/jwt/role
</code></pre>
<p>However, I can't find anything regarding how to display role details. Strange enough, the UI does not contain the section &quot;roles&quot;.</p>
<p>Is it possible to access role details for an existing role?</p>

<hashicorp-vault><role-based-access-control>
HashiCorp Vault roles
Ta Mu
# HashiCorp Vault roles

(Asked by: username_0 on 2021-06-30)

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?

**Tags:** hashicorp-vault, role-based-access-control


---

## 1 answers

### Answer by username_0 on 2021-07-11. Score: 0 | Accepted answer

Yes, it's possible as following:
vault read -format=json auth/jwt/role/ROLENAME


---

