Skip to content

Unable to Access EKS Capabilities ArgoCD using cross-account IAM Identity Center

0

I am attempting to set up the ArgoCD EKS capabilty for a new cluster, however I am seeing Invalid request: Access denied when I try to access the UI.

My identity center instance is centrally managed from a different account within my organization. It is also in a different region to my cluster (Identity Center in ap-southeast-2, EKS cluster in us-west-2).

I have ensured that:

  • The instance and region of my Identity Center are correctly set in the capability settings
  • My Identity center user is mapped to the ADMIN role within the ArgoCD capability
  • Public access is enabled for the ArgoCD UI

After setting up the capability, I can see the application assigned to my user in identity center. I can also see the application in the 'Applications' tab of the AWS access portal. However, when I click through from the access portal, or the link from the EKS Capabilities page, they both result in the same error.

2 Answers
0

I wonder if this a a problem with the Project Name? Have you mapped your projects to AWS Identity Center groups or Argo CD roles? This error is caused by a misconfiguration in the RBAC settings, so, although you are nearly there, you haven't quite given yourself all the permissions necessary. See: https://docs.aws.amazon.com/eks/latest/userguide/argocd-permissions.html and https://argo-cd.readthedocs.io/en/stable/user-guide/projects/#project-roles

answered 10 months ago

0

I’ve seen this similar “Invalid request: Access denied” issue with the EKS-managed Argo CD capability a couple of times, especially when IAM Identity Center is centralized and cross-region.

  1. Make sure the capability is using the Identity Center region, not the cluster region Cross-region Identity Center works, but the Argo CD capability must explicitly reference the Identity Center region (ap-southeast-2 in your case), not the EKS region. Even if it looks correct in the console, I’d verify via CLI:
aws eks describe-capability \
  --region us-west-2 \
  --cluster-name <cluster-name> \
  --capability-name <argocd-capability-name> \
  --query 'capability.configuration.argoCd.awsIdc' \
  --output json
  1. Check how your user is mapped to the ADMIN role
  2. If the user (or group) was ever deleted and re-created in your IdP, Identity Center may still show the app assignment, but internally the identifier is stale. The result is exactly what you’re seeing: the tile opens, but access is denied. Fix: Remove your user/group from the Argo CD application in Identity Center Add it back Try accessing the UI again

If everything looks correct, involve AWS Support

answered 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.