LinuxCommandLibrary

rbac-lookup

rbac-lookup

TLDR

View all RBAC bindings

$ rbac-lookup
copy


View RBAC bindings that match a given expression
$ rbac-lookup [search_term]
copy


View all RBAC bindings along with the source role binding
$ rbac-lookup -o wide
copy


View all RBAC bindings filtered by subject
$ rbac-lookup -k [user|group|serviceaccount]
copy


View all RBAC bindings along with IAM roles (if you are using GKE)
$ rbac-lookup --gke
copy

Copied to clipboard