Authentication

Accounts

EKS

  1. Different users can access the cluster security, managed by self-managed applications within the cluster they access.

EKS

  1. So, we have with 2 types of users:
  • Humans: e.g. Admins and Developers

  • Robots: like processes/services or applications that require access to the cluster.

EKS

  1. The entirety of user access management is done by the apiserver. All requests go through the apiserver.

EKS

Authentication Mechanisms

There are different authentication mechanisms that are configurable.

EKS

Basic Authentication Mechanisms

EKS

Kube-apiserver Configuration

  • If you setup via kubeadm, update the kube-apiserver.yaml template file with the option(s).

EKS

Authenticate User with API

  • To authenticate with basic credentials when accessing the API server, specify the username and password in a curl command.
$ curl -v -k http://master-node-ip:6443/api/v1/pods -u "user1:password123"

EKS

We can add more columns in the user-details.csv file to assign users to specific groups.

References