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

How would you give an external contractor access to one application only?

BeginnerScenarioTenancy, Security & Secrets
Answer

Situation read → Least privilege for a temporary user.

What I'd do →

  1. Add them to a dedicated IdP group (expiry handled in the IdP).
  2. Map that group in a project role or global policy: applications, get and sync on team-a/web-dev only, plus logs, get.
  3. Keep policy.default empty so they see nothing else.

Why → Group-based, time-bound access is auditable and removed automatically.

Interview tip → Avoid local accounts for humans; offboarding becomes manual.

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

More on Tenancy, Security & Secrets