Advertisement
Beginner ArgoCD, RBAC

What is the policy.default setting?

Short answer

policy.default sets the role applied to any authenticated user who has no explicit grant. Setting it to role:readonly gives safe view-only default access; leaving it empty denies by default. It's the fallback that determines baseline permissions.

Save ArgoCD mock interview
Advertisement
AModel answer
policy.default sets the role applied to any authenticated user who has no explicit grant. Setting it to role:readonly gives safe view-only default access; leaving it empty denies by default. It's the fallback that determines baseline permissions.
data:
  policy.default: role:readonly
Real-world example
Unmapped SSO users get read-only access because policy.default is role:readonly.
Likely follow-ups
  • What does an empty default do? | Why set a readonly default?
Related topics