Interview Prep/GitOps & Argo CD/Tenancy, Security & Secrets

You need to rotate the Git credentials Argo CD uses for 200 repos. How do you avoid downtime?

IntermediateScenarioTenancy, Security & Secrets
Answer

Situation read → Per-repo credentials make rotation painful.

What I'd do →

  1. Move to a credential template (repo-creds) for the org URL prefix, ideally backed by a GitHub App.
  2. Create the new credential first, update the repo-creds Secret (or let ESO sync it), then revoke the old one.
  3. Verify with argocd repo list and watch for authentication required in app conditions.

Why → One template covers all repos; GitHub App tokens are short-lived and auto-refreshed.

Interview tip → GitHub Apps also avoid tying access to a person's account.

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

More on Tenancy, Security & Secrets