nginxinc/nginx-loadbalancer-kubernetes

NLK Basic Auth Support

Closed this issue · 3 comments

Is your feature request related to a problem? Please describe

The /api endpoint on the server I set up with Nginx Plus is protected with basic authentication. However, NLK cannot access this endpoint, and I believe this is an important feature.

Describe the solution you'd like

We can store a password for BasicAuth in the Secret. If the application finds this field filled, it should use it.

Additional context

When I examined the Nginx Plus Go Client, I noticed that such a structure does not exist, and it seems that development needs to be done there as well.

Hi @oguzhancelikarslan, thanks for the report!

I will look into this next week, it definitely seems like a common use case.

The TLS option to secure traffic support mTLS, which also meets an authentication requirement.
Is there something specific that I am missing?

@brianehlert TLS option solved my problem.