When we setup a kubernetes master using kubeadm init . At the end of the procedure we have to copy the /etc/kubernetes/admin.conf to $home/.kube/config .
When I opened the file , I found the below details .
- certificate authority data
- client certificate data
- client key data
I am aware the file is used for authentication when we try to access cluster using kubectl .
What I am trying to understand is from where these details are generated ? .