role-based access control

An authorization model where permissions are grouped into named roles, such as reader or editor, and people or services are given roles.

In more detail

RBAC is easy to explain and audit. It becomes hard to manage when every exception creates a new role, and it cannot express context such as ownership, which is where attribute-based access control helps. A role must come from trusted data, never from a value the caller types into a request.

Example

In Kubernetes, Roles and ClusterRoles list allowed verbs on resources, and bindings attach them to users, groups or service accounts.

Related terms

Taught in

References

Certification courses