Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

LDAP based user authentication for Kubernetes

There are some methods natively supported such as basic auth , X509 certificates and webhook tokens.

Is there some workaround/project to use LDAP for user authentication with Kubernetes. I need users to be grouped in LDAP , and then use role binding to bind the group to a specific namespace with a role.

like image 560
Ijaz Ahmad Avatar asked Sep 13 '25 22:09

Ijaz Ahmad


1 Answers

Yes you can integrate with LDAP, for example:

  • Using dex
  • With Torchbox's kube-ldap-authn (hint: read this post)
  • Vis keycloak

Also, there's a nice intro-level blog post to get you started.

like image 139
Michael Hausenblas Avatar answered Sep 16 '25 18:09

Michael Hausenblas