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=web
The 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

Taught in

References