--- title: "Control cluster permissions" slug: "k8s-k8suse-clusterauth" tags: ["Kubernetes Service (VPC)", "Kubernetes Service"] updated: 2026-09-17T09:33:15Z published: 2026-09-17T09:33:15Z canonical: "guide.ncloud-docs.com/k8s-k8suse-clusterauth" --- > ## Documentation Index > Fetch the complete documentation index at: https://guide.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # Control cluster permissions Available in VPC Note If you use ncp-iam-authenticator to configure kubeconfig, there is no need to control permissions using the ServiceAccount token. For more information, see [IAM authentication user management](/docs/en/k8s-iam-auth-management). The kubeconfig authentication file provided by Kubernetes Service **operates through ncp-iam-authenticator**, so if the user uses a 3rd-party service such as Jenkins or GitHub Action, some inconvenience may occur. This authentication file grants the user's cluster permissions to the targeted 3rd-party service, which can potentially lead to security issues. To avoid this, you can improve security by creating a kubeconfig authentication file using tokens and minimizing permissions to grant only the necessary permissions. ## Change token value in the kubeconfig file This example explains how to restrict cluster permissions by changing the token value in the kubeconfig file. The following describes how to change the token value in the kubeconfig file. 1. Run the following commands in order to create a Namespace and Service Account. ``` $ kubectl --kubeconfig $KUBE_CONFIG create ns hello-world ``` ``` $ cat <