You can extract specific data using jq . For instance, to find the user associated with the prod-cluster context:
: An asterisk indicates the context currently being used for your commands. kubectl list contexts
: To see only the name of the context you are currently using, run: kubectl config current-context You can extract specific data using jq