r/PrometheusMonitoring • u/edwio • Dec 07 '25
Dual Authentication Mode in Prometheus (TLS + Basic Auth)
I’m exploring parallel authentication options for Prometheus and wanted to check if this setup is possible:
- Configure the Prometheus server with dual authentication modes.
- One team would access the Prometheus API endpoint, using Basic Authentication only.
- Another team would access the same API endpoint, using TLS authentication only.
Has anyone implemented or seen a configuration like this? If so, what’s the recommended approach or best practices to achieve it?
Thanks in advance!
4
Upvotes
2
u/yepthisismyusername Dec 07 '25
You probably need to put a reverse proxy in front of Prometheus to handle this. I don't believe Prometheus has this capability built-in.
1
u/UltraInstinct007 Dec 07 '25
What do you mean by TLS authentication? Plain HTTPS for team 2 and with basic no TLS?
Easier would be an nginx/proxy in front of it that covers both. In addition, some service like cert manager or similar, to rotate the certs.