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 →
- Add them to a dedicated IdP group (expiry handled in the IdP).
- Map that group in a project role or global policy:
applications, getandsynconteam-a/web-devonly, pluslogs, get. - Keep
policy.defaultempty 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.
More on Tenancy, Security & Secrets
Ten teams share one Argo CD. How do you isolate them?IntermediateA developer could create an Application in their project that deploys a ClusterRoleBinding granting cluster-admin. How do you prevent privilege escalation?AdvancedCI needs to trigger a sync of one app after a deploy commit. How do you give it access?BeginnerAn auditor says the Sealed Secrets private key is a single point of failure and a single point of compromise. How do you respond?AdvancedYou need the same database password in 12 clusters. Which secrets approach do you choose and why?IntermediateYour team wants to use SOPS with Argo CD. What do you set up?Advanced