How do you manage RBAC for API/automation accounts (project roles and tokens)?
Short answer
Beyond user SSO, ArgoCD supports local accounts and AppProject roles with scoped JWT tokens for automation.
Advertisement
AModel answer
Beyond user SSO, ArgoCD supports local accounts and AppProject roles with scoped JWT tokens for automation. A project role defines allowed actions on that project's apps, and you issue a token bound to it for CI to sync apps—least privilege for pipelines without granting a human-level or admin account.
# AppProject role for CI
roles:
- name: ci-deployer
policies:
- p, proj:team-a:ci-deployer, applications, sync, team-a/*, allowReal-world example
The CI pipeline uses a project-scoped token that can only sync team-a apps, never touching other projects.
Likely follow-ups
- What is an AppProject role? | Why use scoped tokens for CI?
Related topics