Help improve this page
Want to contribute to this user guide? Choose the Edit this page on GitHub link that is located in the right pane of every page. Your contributions will help make our user guide better for everyone.
Update access entries
You can update an access entry using the AWS Management Console or the AWS CLI.
AWS Management Console
-
Open the Amazon EKS console
. -
Choose the name of the cluster that you want to create an access entry in.
-
Choose the Access tab.
-
Choose the access entry that you want to update.
-
Choose Edit.
-
For Username, you can change the existing value.
-
For Groups, you can remove existing group names or add new group names. If the following groups names exist, don’t remove them: system:nodes or system:bootstrappers. Removing these groups can cause your cluster to function improperly. If you don’t specify any group names and want to use Amazon EKS authorization, associate an access policy in a later step.
-
For Tags, you can assign labels to the access entry. For example, to make it easier to find all resources with the same tag. You can also remove existing tags.
-
Choose Save changes.
-
If you want to associate an access policy to the entry, see Associate access policies with access entries.
AWS CLI
-
Install the AWS CLI, as described in Installing in the AWS Command Line Interface User Guide.
-
To update an access entry Replace
my-cluster
with the name of your cluster,111122223333
with your AWS account ID, andEKS-my-cluster-my-namespace-Viewers
with the name of an IAM role.aws eks update-access-entry --cluster-name my-cluster --principal-arn arn:aws:iam::111122223333:role/EKS-my-cluster-my-namespace-Viewers --kubernetes-groups Viewers
You can’t use the
--kubernetes-groups
option if the type of the access entry is a value other thanSTANDARD
. You also can’t associate an access policy to an access entry with a type other thanSTANDARD
.