Basic-Auth

Using nginx basic authentication in Kubernetes

2019-01-31

This post is somewhat related to a previous post about accessing k8s services using nginx reverse proxy. Let’s try to add a simple basic authentication to these services at the proxy level. Now, this may come in handy in non-production environments but at the very least, make sure that you are doing this over HTTPS as basic authentication credentials are not encrypted. We will be using the htpasswd tool to generate our passwords.

Basic-Auth · Kubernetes · Nginx

2 minutes