Help improve this page
To contribute to this user guide, choose the Edit this page on GitHub link that is located in the right pane of every page.
If you discover that you deleted an access entry in error, you can always recreate it. If the access entry that you’re deleting is associated to any access policies, the associations are automatically deleted. You don’t have to disassociate access policies from an access entry before deleting the access entry.
You can delete 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 delete an access entry from.
-
Choose the Access tab.
-
In the Access entries list, choose the access entry that you want to delete.
-
Choose Delete.
-
In the confirmation dialog box, choose Delete.
AWS CLI
-
Install the AWS CLI, as described in Installing in the AWS Command Line Interface User Guide.
-
To delete an access entry Replace
my-cluster
with the name of your cluster,111122223333
with your AWS account ID, andmy-role
with the name of the IAM role that you no longer want to have access to your cluster.aws eks delete-access-entry --cluster-name my-cluster --principal-arn arn:aws:iam::111122223333:role/my-role