<p>I authenticated to kubernetes cluster, how can I view my RBAC roles and groups attached to my current account?</p>

animekun
<h1>Found better tool</h1>
<p>this tool looks way better than rakkess<br />
exactly what I was looking for</p>
<p><a href="https://github.com/reactiveops/rbac-lookup" rel="nofollow noreferrer">https://github.com/reactiveops/rbac-lookup</a></p>
<p>In the simplest use case, rbac-lookup will return any matching user, service account, or group along with the roles it has been given.</p>
<pre><code>rbac-lookup rob

SUBJECT                   SCOPE             ROLE
rob@example.com           cluster-wide      ClusterRole/view
rob@example.com           nginx-ingress     ClusterRole/edit
The wide output option includes the kind of subject along with the source role binding.
</code></pre>
<pre><code>rbac-lookup ro --output wide

SUBJECT                   SCOPE             ROLE                SOURCE
User/rob@example.com      cluster-wide      ClusterRole/view    ClusterRoleBinding/rob-cluster-view
User/rob@example.com      nginx-ingress     ClusterRole/edit    RoleBinding/rob-edit
User/ron@example.com      web               ClusterRole/edit    RoleBinding/ron-edit
ServiceAccount/rops       infra             ClusterRole/admin   RoleBinding/rops-admin
</code></pre>
