As a kubernetes admin, we need to deal with frequent use cases.
I faced some of them.
the reality is info is not well available in official database.
I was referring the below.
kubectl config view --raw -o jsonpath=‘{.users[0].user.client-certificate-data}’ | base64 -d
this will be giving handfull information about context data extraction.
Try to refer the link:
for certificates go with: