This page describes configuring basic authentication in Lenses.
Basic authentication is set in the config.yaml for HQ under the http.users key, as an array of usernames and passwords.
To enhance security, it's essential that passwords in the config.yaml file are stored in bcrypt format.
This ensures that the passwords are hashed and secure rather than stored in plaintext. For instance, instead of using "builder" directly, it should be hashed using bcrypt.
An example of a bcrypt-hashed password looks like this: $2a$12$XQW..XQrtZXCvbQWertqQeFi/1KoQW4eNephNXTfHqtoW9Q4qih5G
.
Always ensure that you replace plaintext passwords with their bcrypt counterparts to securely authenticate users.