diff --git a/content/rancher/v2.6/en/api/api-tokens/_index.md b/content/rancher/v2.6/en/api/api-tokens/_index.md index f4752f1a7ab..c682ae8460d 100644 --- a/content/rancher/v2.6/en/api/api-tokens/_index.md +++ b/content/rancher/v2.6/en/api/api-tokens/_index.md @@ -34,13 +34,14 @@ Here is the complete list of tokens that are generated with `ttl=0`: Admins can set a global TTL on Kubeconfig tokens. Once the token expires the kubectl command will require the user to authenticate to Rancher. -1. Disable the kubeconfig-generate-token setting in the Rancher API view at `https://}}/rancher/v2.6/en/cli) to retrieve a short lived token for the cluster. When you use this kubeconfig in a client, such as `kubectl`, the Rancher CLI needs to be installed as well. + +2. Set the `kubeconfig-token-ttl-minutes` setting to the desired duration in minutes. By default, `kubeconfig-token-ttl-minutes` is 960 (16 hours). -4. Edit the setting and set the value to desired duration in minutes. _**Note:**_ This value cannot exceed max-ttl of API tokens.(`https://