Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Prometheus Security and Authentication explained

[This tutorial is under developement]

Prometheus does not directly support basic authentication (aka “basic auth”) for connections to the Prometheus expression browser and HTTP API.

If you’d like to enforce basic auth for those connections, we recommend using Prometheus in conjunction with

  • A reverse proxy and applying authentication at the proxy layer using nginx
  • A reverse proxy and applying authentication at the proxy layer using nginx and one way TLS
  • A reverse proxy and applying authentication at the proxy layer using nginx and Mutual TLS

A reverse proxy and applying authentication at the proxy layer using nginx

A reverse proxy and applying authentication at the proxy layer using nginx and one way TLS

A reverse proxy and applying authentication at the proxy layer using nginx and Mutual TLS

Reference
– https://prometheus.io/docs/guides/basic-auth/
– https://prometheus.io/docs/operating/security/
– https://prometheus.io/docs/operating/security/#authentication-authorization-and-encryption

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.