Difference between revisions of "Kubectl config set-credentials"
Jump to navigation
Jump to search
(Created page with "{{lc}} kubectl config set-credentials {{kubectl config}}") |
|||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | + | https://jamesdefabia.github.io/docs/user-guide/kubectl/kubectl_config_set-credentials/ | |
+ | * <code>[[kubectl config]] set-credentials</code> | ||
+ | kubectl config set-credentials USER_NAME \ | ||
+ | [[--auth-provider]]=[[oidc]] \ | ||
+ | --auth-provider-arg=idp-issuer-url=( issuer url ) \ | ||
+ | --auth-provider-arg=client-id=( your client id ) \ | ||
+ | --auth-provider-arg=client-secret=( your client secret ) \ | ||
+ | --auth-provider-arg=refresh-token=( your refresh token ) \ | ||
+ | --auth-provider-arg=idp-certificate-authority=( path to your ca certificate ) \ | ||
+ | --auth-provider-arg=id-token=( your id_token ) | ||
− | {{kubectl config}} | + | == Related == |
+ | * [[Kubernetes Authenticating]] | ||
+ | * <code>[[kubectl config set-cluster]]</code> | ||
+ | * [[kubectl --token]] | ||
+ | |||
+ | == See also == | ||
+ | * {{kubectl config}} | ||
+ | |||
+ | [[Category:K8s]] |
Latest revision as of 09:19, 2 November 2023
https://jamesdefabia.github.io/docs/user-guide/kubectl/kubectl_config_set-credentials/
kubectl config set-credentials
kubectl config set-credentials USER_NAME \ --auth-provider=oidc \ --auth-provider-arg=idp-issuer-url=( issuer url ) \ --auth-provider-arg=client-id=( your client id ) \ --auth-provider-arg=client-secret=( your client secret ) \ --auth-provider-arg=refresh-token=( your refresh token ) \ --auth-provider-arg=idp-certificate-authority=( path to your ca certificate ) \ --auth-provider-arg=id-token=( your id_token )
Related[edit]
See also[edit]
Advertising: