--- title: "Managing IAM authentication user (ConfigMap)" slug: "k8s-iam-auth-management-configmap" updated: 2026-09-17T09:33:15Z published: 2026-09-17T09:33:15Z canonical: "guide.ncloud-docs.com/k8s-iam-auth-management-configmap" --- > ## 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. # Managing IAM authentication user (ConfigMap) Available in VPC When creating a cluster, both the SubAccount that created the cluster and the main account are automatically set as the system:masters group within the cluster's RBAC configuration. This setting is not displayed in the cluster information or ConfigMaps. In order to give usage permissions a cluster to an IAM user, `ncp-auth` ConfigMap must be registered in the kube-system namespace. Note You can configure this when the ncp-iam-authenticator is installed and the kubeconfig is created. See [Install ncp-iam-authenticator](/docs/en/k8s-iam-auth-ncp-iam-authenticator), and [Create IAM authentication kubeconfig](/docs/en/k8s-iam-auth-kubeconfig). ### Add IAM user to cluster 1. The kubectl credentials must be configured with the SubAccount user who created the cluster or the main account. 2. Create `ncp-auth` ConfigMap. ``` $ cat < username: groups: - EOF ``` 1. ConfigMap's IAM user parameters are as follows: - subaccountIdNo: the ID of the SubAccount user to be added that can be checked on the SubAccount console - username: the name of the user to be mapped to the IAM user in Kubernetes - groups: list of groups to be mapped to users in Kubernetes For more details, see [Default roles and role bindings](https://kubernetes.io/docs/en/reference/access-authn-authz/rbac/#default-roles-and-role-bindings). 2. `ncp-auth` You can check the list of applied users through the ncloud.com/applied-ncp-auth annotation in the ConfigMap. ``` $ kubectl --kubeconfig $KUBE_CONFIG -n kube-system get configmap ncp-auth -o yaml ... metadata: annotations: ncloud.com/applied-ncp-auth: '[{"SubAccountIdNo":"","Username":"","Groups":[""]}]' ... ``` 1. Check if the IAM user, or the user or user group with a role mapped, is bound to a Kubernetes role by using RoleBinding or ClusterRoleBinding. For more information, see [Using RBAC Authorization](https://kubernetes.io/docs/en/reference/access-authn-authz/rbac/) in the Kubernetes documents. - Permission to view resources in all namespaces - The group name is full-access-group, and this needs to be mapped to the IAM user groups in the `ncp-auth` ConfigMap. Note - Full-access-group holds many permissions, but it is not the master authority for the cluster manager. - If the cluster master authority is needed, you can map the relevant user to the [system:masters](https://kubernetes.io/docs/en/reference/access-authn-authz/rbac/#user-facing-roles) group offered by default. ``` $ cat <