Reports the user and groups your kubeconfig credentials resolve to on the current cluster. Useful when the same kubeconfig file is shared across contexts. Combine with kubectl auth can-i create pods to test permissions.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.