Interview Prep/GitOps & Argo CD/Environments, ApplicationSets & Multi-Cluster

How would you register 50 EKS clusters with Argo CD securely, without long-lived tokens?

AdvancedScenarioEnvironments, ApplicationSets & Multi-Cluster
Answer

Situation read → Credential sprawl and rotation risk.

What I'd do →

  1. Give the Argo CD controller and server an IAM role through IRSA or EKS Pod Identity.
  2. In each target account, create a deployer role trusted by that role, and map it with an EKS access entry to a Kubernetes group with the needed RBAC.
  3. Create cluster Secrets with awsAuthConfig (clusterName, roleARN) and the cluster CA, generated by Terraform or Crossplane and committed (no secret material inside).
  4. Label the Secrets for ApplicationSets.

Why → Short-lived STS credentials, nothing to rotate, and access is revocable in IAM.

Interview tip → Mention that the cluster Secret then contains no credentials, only identifiers.

All GitOps & Argo CD questions Roadmap: Argo CD (GitOps)

More on Environments, ApplicationSets & Multi-Cluster