From the course: Securing Containers and Kubernetes Ecosystem

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Authenticating users

Authenticating users - Kubernetes Tutorial

From the course: Securing Containers and Kubernetes Ecosystem

Start my 1-month free trial

Authenticating users

- [Instructor] Kubernetes supports two types of subjects, regular human users and machine accounts, also known as service accounts. Service accounts are managed within Kubernetes while the user accounts are expected to be managed outside of Kubernetes. In fact, Kubernetes doesn't even have a native representation of a human user. In other words, you can create accounts for people in Kubernetes. So how does Kubernetes authenticate then? It supports several authentication options. Some of these options are encouraged since they meet good security practices while others not so. Here's the list of options as of the writing of this course. Static password or token file, X.509 client certificates, Open ID Connect tokens, using service accounts, and many others. Well, the name gives it away. In this method, the passwords are stored in a CSV file with at least three pieces of information, password, username, and user ID. A…

Contents