Kubernetes Authentication
Contents
Accounts
Accounts
All accounts is managed by
kube-apiserver.| Service | Type | For | Intended To |
|---|---|---|---|
| Application | End Users | Humans | Application |
| Kubernetes | Admins | Humans | Global(Names must be unique across all namespaces of a cluster) |
| Kubernetes | Developers | Humans | Global(Names must be unique across all namespaces of a cluster) |
| Kubernetes | Service Accounts | Processes Run in PODs | Namespace(Names must be unique in a namespace) |
Admins and Developers
Create a user
| |
User list
| |
Service Accounts
Create a service account
| |
Service accounts list
| |
Process
Auth Mechanisms
Mechanisms
| Type | Description |
|---|---|
| Static Password File | File in Kubernetes |
| Static Token File | File in Kubernetes |
| Certificates | External Certifications |
| Identity Services | External Services |
Managed by kube-apiserver
Auth Mechanisms Basic
Note
This is not a recommended authentication mechanism.
Consider volume mount while providing the auth file in a
Setup Role Based Authorization for the new users.
Consider volume mount while providing the auth file in a
kubeadm setup.Setup Role Based Authorization for the new users.
Static Password File
user-details.csv
| |
kube-apiserver.service
basic-auth-file
| |
Password Authenticate User
| |
Static Token File
user-token-details.csv
| |
kube-apiserver.service
--token-auth-file
| |
Token Authenticate User
| |
CozyFex