# doctl kubernetes cluster kubeconfig – DigitalOcean Documentation > The commands under `doctl kubernetes cluster kubeconfig` are used to manage Kubernetes cluster credentials on your local machine. The credentials are used as authentication contexts with `kubectl`, the Kubernetes command-line interface. - [doctl kubernetes cluster kubeconfig remove](https://docs.digitalocean.com/reference/doctl/reference/kubernetes/cluster/kubeconfig/remove/index.html.md): This command removes the specified cluster's credentials from your local kubeconfig. After running this command, you cannot use `kubectl` to interact with your cluster. - [doctl kubernetes cluster kubeconfig save](https://docs.digitalocean.com/reference/doctl/reference/kubernetes/cluster/kubeconfig/save/index.html.md): Adds the credentials for the specified cluster to your local kubeconfig. After this, your kubectl installation can directly manage the specified cluster. - [doctl kubernetes cluster kubeconfig show](https://docs.digitalocean.com/reference/doctl/reference/kubernetes/cluster/kubeconfig/show/index.html.md): Returns the raw YAML for the specified cluster's kubeconfig.