Closed sonisaurabh19 closed 3 years ago
You can use the commadline tool 'htpasswd' which is part of the apache2-utils. The content of that file can than be copy/paste into the middleware configuration. See here
Let me know if this answers your question.
thanks @rsoika that helps, although one followup - what does users: |2
mean? Like 2 users or does it have something to do with encoding? And if there are 2 users, why don't we specify both passwords like:
users: |2
ABC......
DEF.......
I feared this question ;-)
I don't really know what the |2
means and how exactly this kind of configuration should be structured in a Kubernetes object description....
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi, the middleware for basic-auth that uses the authsecret has user "admin" and password "adminadmin". Can you please share steps on how you generated the following data: