We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 707d369 commit e100cf8Copy full SHA for e100cf8
content/en/docs/reference/access-authn-authz/certificate-signing-requests.md
@@ -295,20 +295,20 @@ The last step is to add this user into the kubeconfig file.
295
296
First, you need to add new credentials:
297
298
-```
+```shell
299
kubectl config set-credentials myuser --client-key=myuser.key --client-certificate=myuser.crt --embed-certs=true
300
301
```
302
303
Then, you need to add the context:
304
305
306
kubectl config set-context myuser --cluster=kubernetes --user=myuser
307
308
309
To test it, change the context to `myuser`:
310
311
312
kubectl config use-context myuser
313
314
0 commit comments