Organizing Access Using kubeconfig Files
The kubectl command-line tool uses
kubeconfig files to find the information it needs to choose a cluster and
communicate with the API server of a cluster.
What happens if your kubeconfig file of your production cluster is leaked or published by accident?
Since there is no possibility to rotate or revoke the initial kubeconfig, there is only one way to protect your infrastructure or application if it is has leaked - delete the cluster.
..learn more on Work with kubeconfig files.