FahamLah

Commands

kubectl auth whoami

kubectl auth whoami

Risk: Safe

What it does

Shows who gate 1 thinks you are: your user name and groups.

When to use it

When a command is refused and you wonder which identity you use.

Example

$ kubectl auth whoami

Who am I in this cluster?