~/.kube/config, or set KUBECONFIG to its path. If you use kubectl with multiple clusters, merge the new file into your existing config and switch contexts with kubectl config use-context.
The token’s secret values are shown only once at creation, so save the kubeconfig immediately. Private clusters have no public API endpoint, so the kubeconfig download may not be available. See How do I access the Kubernetes API if my cluster is private? for the supported private-access patterns.
For full details, see Managed auth kubeconfig.
Authentication & Access