DevOps Dictionary

A straightforward reference for DevOps terms and concepts.

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

Kubernetes Role

Authentication and Authorization

A Kubernetes Role is an access control object that lists which actions are allowed on which resources inside one namespace. It is part of role-based access control (RBAC) and contains rules such as "get and list pods" or "update deployments". A Role does nothing alone: a RoleBinding attaches it to a user, group or service account (for example, a CI account that may update deployments only in staging).

Patent-style sketch of a Kubernetes Role: a rule sheet labelled Role is chained by a RoleBinding link to a key labelled service account, which opens a fenced namespace holding the allowed resources.

See also Kubernetes RoleBinding, Kubernetes ServiceAccount, OIDC (OpenID Connect), SAML (Security Assertion Markup Language), AWS IAM Role, AWS STS AssumeRole.