API verb
The action an API request performs, such as get, list, watch, create, update, patch or delete, which RBAC rules allow one by one.
In more detail
Reading one object is get, while listing many is list, so granting get alone does not let someone list. Test the exact verb and resource when checking a permission.
Examples
kubectl auth can-i delete pods --as=webThe escalate and bind verbs, the right to create pods, and read access to secrets all lead to wider access, so the course treats each of them as administrative whatever the resource name suggests.Related terms
- Role — A namespaced RBAC object listing which verbs are allowed on which resources inside one namespace.
- kubectl auth can-i — The kubectl command that asks the authorizer whether an identity may perform one verb on one resource, answering yes or no.
- privilege escalation — Gaining the rights of a more powerful account, such as root, either deliberately through a tool like sudo or illegitimately through a flaw.
Taught in
- RBAC: Roles, Bindings And Least Privilege — Kubernetes: Production-Grade Container Orchestration
- Least Privilege In IAM And RBAC — Application Security & Threat Modeling for Engineers