snippetbashTip
rbac-lookup — Find roles and cluster roles attached to any user, service account or group name in your Kubernetes
Viewed 0 times
commandfindandrbac-lookupcliclusterroles
Problem
How to use the
rbac-lookup command: Find roles and cluster roles attached to any user, service account or group name in your Kubernetes cluster. More information: <https://github.com/FairwindsOps/rbac-lookup>.Solution
rbac-lookup — Find roles and cluster roles attached to any user, service account or group name in your Kubernetes cluster. More information: <https://github.com/FairwindsOps/rbac-lookup>.View all RBAC bindings:
rbac-lookupView RBAC bindings that match a given expression:
rbac-lookup {{search_term}}View all RBAC bindings along with the source role binding:
rbac-lookup {{[-o|--output]}} wideView all RBAC bindings filtered by subject:
rbac-lookup {{[-k|--kind]}} {{user|group|serviceaccount}}View all RBAC bindings along with IAM roles (if you are using GKE):
rbac-lookup --gkeCode Snippets
View all RBAC bindings
rbac-lookupView RBAC bindings that match a given expression
rbac-lookup {{search_term}}View all RBAC bindings along with the source role binding
rbac-lookup {{[-o|--output]}} wideView all RBAC bindings filtered by subject
rbac-lookup {{[-k|--kind]}} {{user|group|serviceaccount}}View all RBAC bindings along with IAM roles (if you are using GKE)
rbac-lookup --gkeContext
tldr-pages: common/rbac-lookup
Revisions (0)
No revisions yet.