AWS CLI Error when listing eks cluster as well as s3 bucket even though having administrator permission.

0

We are facing an issue with AWS CLI operations for EKS as An error occurred (AccessDeniedException) when calling the DescribeCluster operation: User: arn:aws:iam:: is not authorized to perform: eks:DescribeCluster on resource: arn:aws:eks:ap-south-1:cluster/Mycluster with an explicit deny

1 réponse
0

Hello.

Since it says "with an explicit deny", aren't you setting a Deny statement in the IAM policy, or denying access in the bucket policy if it's S3?
https://docs.aws.amazon.com/IAM/latest/UserGuide/troubleshoot_access-denied.html#access-denied-error-examples

Also, if you use "eks:DescribeCluster", you may be able to see a more detailed message from the CloudTrail event history.
https://docs.aws.amazon.com/awscloudtrail/latest/userguide/view-cloudtrail-events.html

profile picture
EXPERT
répondu il y a un mois
profile picture
EXPERT
vérifié il y a un mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions