kubectl config set-credentials <Cluster>
Sets a user entry in kubeconfig
Arguments
Options
Name | Description |
---|
--client-certificate <arg> | Client cert for user entry |
--client-key <arg> | Client key for user entry |
--token <Bearer Token> | Bearer Token for user entry |
--username <Username> | Username for basic authentication |
--password <Password> | Password for basic authentication |
--auth-provider <Auth Provider> | Auth provider for the user entry in kubeconfig |
--auth-provider-arg <key=value> | 'key=value' arguments for the auth provider |
--embed-certs | Embed client cert/key for the user entry in kubeconfig |
--exec-api-version <API Version> | API version of the exec credential plugin for the user entry in kubeconfig |
--exec-arg <Exec Arg> | New arguments for the exec credential plugin command for the user entry in kubeconfig |
--exec-command <Exec Command> | Command for the exec credential plugin for the user entry in kubeconfig |
--exec-env <key=value> | 'key=value' environment values for the exec credential plugin |