Skip to content

Commit

Permalink
Correct misplaced quoting in sample user documentation. (#9742)
Browse files Browse the repository at this point in the history
Signed-off-by: jgiszczak <[email protected]>
  • Loading branch information
jgiszczak authored Dec 13, 2024
1 parent b33fcc0 commit 0d8a18f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/user/access-control/creating-sample-user.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ type: kubernetes.io/service-account-token
After Secret is created, we can execute the following command to get the token which is saved in the Secret:

```shell
kubectl get secret admin-user -n kubernetes-dashboard -o jsonpath={".data.token"} | base64 -d
kubectl get secret admin-user -n kubernetes-dashboard -o jsonpath="{.data.token}" | base64 -d
```

Check [Kubernetes docs](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#manually-create-a-long-lived-api-token-for-a-serviceaccount) for more information about long-lived API tokens for a ServiceAccount.
Expand Down

0 comments on commit 0d8a18f

Please sign in to comment.