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

<p>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.</p>

Ijaz Ahmad
<p>Yes you can integrate with LDAP, for example:</p>

<ul>
<li>Using <a href="https://github.com/dexidp/dex#connectors" rel="noreferrer">dex</a></li>
<li>With Torchbox's <a href="https://github.com/torchbox/kube-ldap-authn" rel="noreferrer">kube-ldap-authn</a> (hint: read this <a href="https://icicimov.github.io/blog/virtualization/Kubernetes-LDAP-Authentication/" rel="noreferrer">post</a>)</li>
<li>Vis <a href="https://github.com/keycloak/keycloak-gatekeeper" rel="noreferrer">keycloak</a></li>
</ul>

<p>Also, there's a nice intro-level <a href="https://medium.com/@pmvk/step-by-step-guide-to-integrate-ldap-with-kubernetes-1f3fe1ec644e" rel="noreferrer">blog post</a> to get you started.</p>
