docs icon indicating copy to clipboard operation
docs copied to clipboard

Basic Auth - Doc could add some clarity

Open lukos opened this issue 3 years ago • 0 comments

The article https://prometheus.io/docs/guides/basic-auth/ describes basic auth well and we have set it up in a way that requires username/password for the prometheus web interface running on a public server. However, when trying to scrape the prometheus data from localhost, the same basic auth seems to be applied.

It is not clear from the docs whether it is possible to only apply basic auth to a specific interface and disable it for "localhost" to avoid having to specify the same creds for the scrape config as we currently apply via a secret in Kuberentes.

If this is not possible, it would be nice to clarify this in the docs, e.g. "If you enable basic auth at all, all users on the web interface and prometheus will require credentials to access the system, it is not possible to disable auth for specific interfaces"

lukos avatar Nov 07 '22 11:11 lukos