What is the difference between kubectl config set-credentials user1 --embed-cert . . .

Ceci Ivanov:
what is the difference between
kubectl config set-credentials user1 --embed-certs=true
and --embed-certs=false?

Alistair Mackay:
Hi.
--embed-certs means that the certificate files referenced by the various certificate arguments will be stored within the kubeconfig file as base64. Without this argument, or when it is false, then the path to the certificate files will instead be stored in the kubeconfig.

Ceci Ivanov:
thanks