Two ways to organize authorization
How attribute-based rules differ from job-function permission assignments, when each fits, and why they can complement each other. · associate
Role-Based Access Control (RBAC) groups permissions around job functions. An auditor receives permissions to inspect records; an operator receives permissions to run approved operational tasks. Access follows an identity's assigned responsibility, with permissions scoped to the resources that responsibility covers.
Attribute-Based Access Control (ABAC) evaluates attributes against policy rules. Attributes can describe the requester, resource, operation, or request conditions. For example, a rule can permit a supported read operation only when the requester's project matches the resource's project. The rule evaluates those values when access is requested.
These are authorization models, not competing identity types. In AWS, IAM policies express permissions. Users and roles are identities, while IAM groups collect users to simplify permission assignment. An IAM role can carry job-based permissions, attribute-based rules, or both; using a role does not by itself make a design RBAC.
| Comparison | RBAC | ABAC |
|---|---|---|
| Organizing idea | Job responsibility | Attribute rules |
| Example | Auditor can inspect records | Requester project matches resource |
| Access administration | Manage assignments and permissions | Manage rules and attributes |