Why Prometheus SSO needs a proxy in front of it
A security or platform team that must put Prometheus and Alertmanager behind corporate identity should start from one fact: neither product has built-in single sign-on. The Prometheus security model says SSO is normally added with an authenticating reverse proxy in front of the web UI and API, so the design question is which proxy, which identity protocol (OIDC or SAML), and which endpoints it covers. Those endpoints do not serve one kind of caller. Engineers open the expression browser, on-call staff use the Alertmanager UI, dashboards and automation query the HTTP API, and Prometheus itself scrapes targets and Alertmanager receives alerts. Each has different credentials, network paths and failure tolerance, so a single login gate applied blindly will break something.
The difficulty is in the traffic that does not come from a person. Scrapes pull metrics from targets on a schedule, and rule evaluation and alert delivery run continuously. If the proxy in front of a target demands an interactive login, scraping stops and the gap appears as missing data rather than an obvious error. Prometheus also has no built-in CSRF protection on mutating endpoints, so the proxy and the browser session must be configured with that gap in mind. Admin and lifecycle APIs must stay off: the --web.enable-admin-api and --web.enable-lifecycle flags are disabled by default and should remain so, and the proxy should not route those paths to users at all.
Before choosing a product, confirm three things with your own environment: which endpoints each consumer uses, whether machine clients can authenticate with TLS client certificates or basic authentication instead of an interactive session, and which paths must be blocked outright. The Prometheus security model is the natural reference for those decisions. Treat the proxy as a security control in its own right, with its own hardening, logging and patching, because every request to Prometheus will depend on it.
Which endpoints need access control
A Prometheus install exposes several HTTP surfaces with different callers and different risks. Mapping each one to its caller (people, Prometheus itself, or other systems) tells you where SSO belongs, where machine credentials belong, and which surfaces should not be reachable at all.
Prometheus web UI and query API
This surface is called by engineers using the expression browser and by dashboards, alert tools and automation running PromQL queries. Human access is the natural place for SSO through an authenticating reverse proxy, while automated callers usually need separate credentials such as basic authentication over TLS. Check whether the proxy protects both the UI and the API paths, because a proxy that covers only the browser leaves the query API open. Confirm which paths your proxy matches before go-live.
Security modelAlertmanager UI and API
Engineers use the Alertmanager UI to view and create silences, while Prometheus itself posts alerts to the Alertmanager API. Silencing is a mutating action, so the UI should sit behind the same SSO layer as the Prometheus UI, with access limited to on-call and operations roles. Alert delivery from Prometheus must keep working when the proxy is in front, so test that path separately from the human login flow.
Scrape endpoints exposed by targets
Prometheus itself pulls metrics from each target's scrape endpoint, so the caller is a machine. Targets can require TLS with client certificates or basic authentication, and the scrape job configuration must hold the matching credentials. Scrape endpoints should never be published to the internet or to user networks, since metric output often reveals hostnames, versions and internal behavior. Verify that each target accepts only the Prometheus server identity you intend.
Admin and lifecycle endpoints
The admin HTTP APIs are disabled by default. The --web.enable-admin-api flag enables destructive operations, and --web.enable-lifecycle enables reload and shutdown endpoints. Enabling either flag makes these endpoints reachable to anyone who can reach the listener, so they should stay off unless an automation pipeline needs them, and then only behind authentication on a restricted network path. Record who approved each flag change.
Exporters that accept URL targets
Exporters such as SNMP and Blackbox take the target to probe from a URL parameter. The security model warns that anyone with HTTP access to them can make them send requests to arbitrary endpoints, which turns the exporter into a probe for internal networks. Restrict these exporters to the Prometheus server's network path, require authentication on any exposed port, and limit the destinations they can reach where your network controls allow it.
Security modelHow a login request reaches the Prometheus UI and API
A login starts in the user's browser or API client, which is sent to an authenticating proxy. The proxy completes OIDC or SAML with the identity provider, then forwards only authenticated requests to Prometheus or Alertmanager on the internal network. The scrape path is separate: Prometheus pulls from targets over TLS with basic authentication, with no interactive login. Check that the proxy is the only route to the web UI and API, and that the trust boundary holds.
Interactive logins pass through the proxy; scrapes bypass it and need no login.
Which SSO proxy and auth pattern fits your setup
This table compares the proxy layer that can sit in front of Prometheus and Alertmanager, and how scrape traffic is handled alongside it. Read each row against your identity provider, your existing access gateway, and the teams that must scrape targets without an interactive login. The main takeaway is that the proxy choice is less important than deciding, early, whether scrapes travel through the same proxy or take a separate authenticated path.
| Option | When it fits | What it costs you operationally |
|---|---|---|
| OIDC-capable authenticating proxy | Your identity provider already issues OpenID Connect tokens and your team wants a browser login for the Prometheus UI and Alertmanager UI. Confirm the proxy's OIDC support and CSRF handling in its own documentation. | You own the proxy configuration, token and session lifetimes, and its upgrade cycle. Mutating API calls need a CSRF check in the proxy or on the path, since Prometheus does not provide one. |
| SAML-capable authenticating proxy | Your identity provider is SAML-only, or a legacy application already uses SAML and your security team wants one control point. Confirm SAML assertion handling, signature validation, and CSRF behavior against the proxy's documentation. | SAML metadata, certificate rotation, and attribute mapping become recurring tasks. Group-to-role mapping must be maintained by hand when teams change. |
| Identity-aware access gateway already in use | Your organization already routes internal web tools through a zero-trust access gateway, so Prometheus can be added as another application with little new infrastructure. Confirm that the gateway can protect API paths, not only the browser UI. | Policy lives in the gateway vendor's console, so changes need that team. Confirm how it handles non-browser clients, because API callers and automation may fail if the gateway expects an interactive session. |
| Scrapes exempt from SSO, using TLS client certificates | Prometheus scrapes exporters and applications over mutual TLS, and you want machine traffic to avoid the login proxy entirely. This keeps scrape identity separate from human identity. | You issue, rotate, and revoke client certificates for every scraper and exporter. Certificate expiry is a common cause of silent scrape failures, so monitor it. |
| Scrapes exempt from SSO, using HTTP basic authentication | Targets or older exporters can only send basic credentials, and you accept a shared secret per job. Basic authentication must run over TLS, since cleartext credentials are exposed without it. | Credentials appear in scrape configuration, so secret storage and rotation must be planned. Passwords are stored as bcrypt hashes on the Prometheus side, but the plaintext still has to be managed by your team. |
| All scrapes routed through the same proxy | You want one access path and one audit trail for every request, and your exporters and scrapers can send the credentials or tokens the proxy expects. Confirm that the proxy can handle non-interactive token flows. | Every scrape depends on the proxy being available, which adds a failure point to monitoring itself. Proxy latency and timeouts can make scrapes miss their intervals, so test under load. |
| Admin and lifecycle endpoints kept behind the proxy only | You expose the UI for operators but keep destructive or reload operations off the network path that users reach. Admin APIs are disabled by default, so this is usually a decision about whether to enable them at all. | Enabling reload or admin endpoints adds operational power that the proxy must restrict by role. Review which groups can reach these paths after each proxy change. |
Prometheus SSO setup steps, in order
This sequence puts a single sign-on login in front of Prometheus and Alertmanager, keeps their internal ports unreachable from outside, and leaves scrapes and API access working under separate, verified authentication.
Confirm the identity provider and group mapping
Before changing any configuration, agree with the identity team which OIDC or SAML provider will authenticate users, which groups map to read-only access and which map to administrators, and how the proxy will receive identity claims. Record the callback URLs and the claim name that carries group membership. This step is done when a test user in the intended group can be identified in the provider's logs and the group-to-role mapping is written down and approved.
Bind Prometheus and Alertmanager to internal addresses
Configure Prometheus and Alertmanager to listen on localhost or a private interface only, so the authenticating proxy is the sole route to the web UI and API. Check the listen address in the running process or service definition and confirm that the port answers on the loopback interface but not from another host on the network. This step is closed when a request to the server's internal address from a neighboring host fails to connect.
Enable TLS on the listeners
Create a web configuration file for each component and enable TLS, with a certificate issued by your internal certificate authority and a minimum version of TLS 1.2, which Prometheus supports as its floor. Point the Prometheus command at this file and do the same for Alertmanager. Confirm the certificate chain with an HTTPS request from a trusted client. This step is done when the listener presents the expected certificate and older protocol versions are refused.
Configure the proxy for OIDC or SAML login
Place an authenticating reverse proxy in front of the Prometheus and Alertmanager listeners. Configure it for OIDC or SAML with the provider chosen in the first step, forward the verified user identity and group claims to the backend in headers, and strip any identity headers that arrive from clients. Test a login with an allowed user and a denied user. This step is closed when the allowed user reaches the UI, the denied user is refused, and a forged identity header from outside the proxy has no effect.
Separate scrape paths from interactive authentication
Scrapers and monitoring tools generally cannot complete an interactive login, so decide how the scrape endpoints are handled. Either exempt the metrics path from browser login and protect it with network restrictions, or give scrapers a separate credential path. Prometheus supports TLS client certificates and HTTP basic authentication with bcrypt-hashed passwords, but basic authentication should only be used over TLS. Confirm that a scrape of a target succeeds and that the same path is refused without the expected credential.
Keep admin and lifecycle flags off
Verify that the admin API is not enabled and that the lifecycle endpoints for reload and shutdown are not enabled, unless a specific runbook requires them. Prometheus disables the admin API by default, and the --web.enable-admin-api and --web.enable-lifecycle flags turn on destructive or control operations. Review the startup command and the service unit for these flags. This step is closed when a request to an admin or lifecycle endpoint returns an error through both the proxy and the direct listener.
Set bcrypt basic authentication where needed
Where basic authentication is used for API clients that cannot use SSO, generate bcrypt password hashes and place them in the web configuration file, not in plain text in scrape or deployment definitions. Restrict the file's permissions to the service account. Test a request with the correct password and one with an incorrect password over TLS. This step is done when valid credentials succeed, invalid ones fail, and the file contains no cleartext secrets.
Restrict network paths to the internal ports
Apply host firewall rules or network security groups so the Prometheus and Alertmanager ports accept traffic only from the proxy and from approved scrapers or cluster peers. Also review exporters that accept target URLs as parameters, since anyone with HTTP access to them can direct requests to arbitrary endpoints. Attempt a direct connection to each internal port from a workstation outside the allowed list. This step is closed when every direct connection is blocked and the proxy path still works.
How to test that Prometheus SSO works and fails safely
Treat the SSO layer as a control that must be tested for failure, not only for success. The test set should prove that the proxy admits the right people, refuses everyone else, and cannot be bypassed. Run logins with a user from an allowed group and a user from a disallowed group, and confirm the disallowed user is refused at the proxy and never reaches the Prometheus or Alertmanager UI. Then sign in, wait for the session to expire or revoke it at the identity provider, and confirm the next request is challenged again. Finally, attempt direct connections to the internal listen ports of Prometheus and Alertmanager from the network segments that should only reach the proxy. Those connections should fail. If they succeed, the proxy is decorative and anyone with network access can skip authentication.
Test the machine paths as carefully as the human ones. Confirm that scrapes still succeed with the TLS client certificates or basic authentication you configured, and that the scrape targets are reachable through the path Prometheus is designed to use. Then send a basic authentication request over plain HTTP to a test endpoint and confirm the setup refuses or flags it, since the security model notes that cleartext credentials are exposed without TLS. Next, call the admin and lifecycle endpoints, including reload and shutdown, through the proxy and directly, and confirm they return errors while --web.enable-admin-api and --web.enable-lifecycle are left off. Confirm the Alertmanager side by sending a test alert from each Prometheus instance and checking that every Alertmanager instance receives it, which is the check most likely to catch a Prometheus pointed at only one instance.
The security model notes Prometheus has no built-in CSRF protection on mutating endpoints, so the proxy must cover that gap. Ask the proxy vendor or your platform team to confirm in writing how it enforces CSRF checks or same-site cookie rules on any state-changing request, and test it: submit a cross-origin form or request from a page on another host while logged in and confirm it is rejected. Record every result, including the expected refusal, so the evidence can be reviewed later. Repeat the test set after each proxy, Prometheus or identity provider upgrade, because a change in any of them can reopen a path that previously failed closed.
How the SSO setup changes for HA, Kubernetes and air-gapped networks
On a single virtual machine or bare-metal host, the simplest layout places one authenticating reverse proxy in front of Prometheus and, separately, in front of Alertmanager. Prometheus listens only on the loopback interface or an internal address, and the proxy is the only component that accepts browser and API traffic. Scrapes are different: Prometheus pulls from exporters on the network, so those paths usually stay internal and rely on TLS and basic authentication rather than SSO, because scrapers are machines and cannot complete an interactive login.
- Proxy placement: One proxy instance per web endpoint, with the UI and query API routed through SSO and the scrape endpoints of exporters left on a separate internal path.
- Certificate management: One certificate for the proxy hostname, plus client certificates or basic credentials for Prometheus scrapes as the security model describes.
- Scrape paths: Prometheus scrapes targets directly, so the proxy does not sit in the scrape path unless you deliberately route it there.
- Admin endpoints: Keep the admin and lifecycle APIs disabled, and confirm the proxy blocks them from users who reach the UI.
- Renewal: Track one certificate expiry for the proxy and one for Prometheus client authentication.
Confirm the proxy's session timeout, whether it can restrict paths by group, and how it handles the Alertmanager web UI, which uses its own routes.
A redundant design runs two Prometheus instances that scrape the same targets, with Alertmanager clustered across instances. Each Prometheus replica needs its own proxy path or a shared proxy pool that routes users to a healthy replica. Prometheus should point at every Alertmanager instance rather than a load balancer, so the SSO layer protects the Alertmanager web UI and API separately from the alert delivery path. The design of the pair itself is covered in the separate high availability topic.
- Proxy placement: Put the proxy in front of each replica or in front of a pool, and decide whether users need to be pinned to one replica during an investigation.
- Session handling: Confirm that sessions survive a failover, or accept that users re-authenticate when a replica is replaced.
- Certificate management: Issue certificates for each replica or a shared name, and automate renewal so a rotation does not drop one replica from the pool.
- Alertmanager cluster traffic: Cluster peer communication is internal and should not pass through the SSO proxy, so keep those ports on a private network.
- Scrape paths: Each replica scrapes independently, so credentials for exporters must be valid on every replica.
Confirm the proxy's health checks, whether the identity provider remains reachable during an outage, and which team owns certificate rotation across both replicas.
On Kubernetes, the proxy can run as an ingress controller plugin, as a dedicated deployment behind an ingress, or as a sidecar container in the Prometheus pod. An ingress placement suits the web UI and API, and a sidecar is more common when the proxy must sit directly beside a single Prometheus container. Service discovery means scrape targets change constantly, so the scrape path inside the cluster normally bypasses the ingress entirely, and in-cluster ServiceMonitor or static configurations keep scraping over the cluster network.
- Proxy placement: Choose ingress for user traffic, or a sidecar when you need the proxy bound to the Prometheus pod's lifecycle.
- Certificate management: Use the cluster's certificate manager or a secret store for the ingress certificate, and mount client certificates as secrets for scrapes.
- Scrape paths: Keep scraping on the internal service network, and avoid routing scrape traffic through the user-facing ingress.
- Network policy: Restrict which pods can reach the Prometheus and Alertmanager services so the proxy is not bypassed.
- Secrets: Store basic authentication and proxy client secrets in Kubernetes secrets, not in ConfigMaps.
Confirm your ingress controller's support for the chosen authentication method, the proxy's compatibility with your Kubernetes version, and whether a sidecar will restart Prometheus on each proxy upgrade.
On an air-gapped network, the identity provider must be inside the same boundary, so the proxy redirects users to an internal OIDC or SAML endpoint rather than a public cloud login page. Certificates usually come from an internal certificate authority, and every client must trust that authority. Software packages, container images and any proxy updates arrive through an approved transfer process, so the team needs a plan for updating the proxy without internet access. Scrape paths stay entirely inside the network.
- Identity provider: Confirm the internal IdP is reachable from the proxy and that its metadata or discovery document can be loaded without outbound access.
- Certificate management: Use an internal CA, distribute its root to browsers and the proxy, and track expiry because external renewal services are unavailable.
- Update path: Plan how proxy and Prometheus releases are transferred and verified, since upgrades cannot pull directly from the internet.
- Scrape paths: Exporters and targets stay on the internal network, with basic authentication or client certificates protecting each endpoint.
- Logging: Send proxy authentication logs to an internal log store, since outbound log forwarding may not be allowed.
Confirm with your security team which IdP endpoints are permitted, who approves offline package transfers, and how certificate revocation is checked when external services cannot be reached.
Protecting scrapes, APIs and secrets with TLS and basic auth
SSO covers people using the web UI, but scrapes, API clients and exporters create their own access paths into Prometheus and Alertmanager. The cards below cover the controls that keep those paths encrypted, credentialed and limited, and the checks to run on each.
Basic auth without TLS
Prometheus supports HTTP basic authentication, but credentials travel as readable text unless the connection is encrypted. Any basic auth configuration for the web UI, API or scrape endpoints should be paired with TLS on the same listener. Confirm that no scrape or API path reaches Prometheus over plain HTTP, including health checks and sidecars that bypass the proxy.
Security modelBcrypt hashes and where they live
Prometheus stores basic auth passwords as bcrypt hashes in its web configuration file, not as plain text, so the file itself should be treated as sensitive. Store it with restricted file permissions and track who can edit it through configuration management. Confirm that the hashes are generated with a strong cost setting and that rotation is part of the runbook when an engineer leaves.
Client certificates and TLS 1.2 minimum
Prometheus supports TLS and client certificate authentication, with TLS 1.2 as the minimum version. Client certificates suit machine-to-machine scrapes and Alertmanager connections better than shared passwords, because each client has its own identity and can be revoked. Confirm your internal certificate authority issues short-lived certificates, and plan the renewal process before the first expiry.
Scrape credentials in configuration
Scrape jobs often carry bearer tokens or basic auth passwords directly in prometheus.yml, where anyone who can read the file or the configuration repository can read them. Use credential files referenced by path, restrict their permissions, and avoid pasting secrets into version control. Confirm who can read the Prometheus configuration directory and whether those credentials are scoped to read-only metrics endpoints.
Session and CSRF handling at the proxy
Prometheus has no built-in CSRF protection on endpoints that change state, so the authenticating reverse proxy in front of the UI and API must carry that protection. Set session cookies with secure and HTTP-only attributes, keep session lifetimes short, and block cross-site requests to mutating paths. Confirm the proxy enforces the same login for the API as for the UI, so a valid session cannot be bypassed by calling an endpoint directly.
SSRF through URL-target exporters
Exporters such as SNMP and Blackbox take their targets from URL parameters, so anyone with HTTP access to them can make the exporter send requests to arbitrary endpoints. This is a server-side request forgery risk that SSO on Prometheus alone does not address. Restrict who can reach these exporters at the network layer, put them behind the same authentication, and limit the destinations they are allowed to probe.
Security modelWhat drives SSO effort and cost for Prometheus
This table lists the factors that change how much work an SSO and authentication setup for Prometheus takes, why each one matters, and how to keep it manageable. Read it before asking a partner or your own team for an estimate, since most of the effort sits in the number of endpoints, identity mappings and environments rather than in the proxy itself.
| Driver | Why it changes the work | How to keep it down |
|---|---|---|
| Number of Prometheus and Alertmanager instances | Each server has its own web UI, API and proxy route, so every instance needs its own configuration, testing and access review. Alertmanager adds a second set of endpoints per cluster. | Standardize one proxy template and deploy it to every instance from the same configuration source. Confirm the count of instances in the first scoping session. |
| Identity provider type (OIDC or SAML) | OIDC is usually simpler to wire into a reverse proxy, while SAML often needs more attribute mapping and certificate handling. The choice depends on what your identity provider and proxy support, which must be confirmed. | Decide the protocol with your identity team before scoping. Confirm that the proxy supports your chosen protocol in your exact version. |
| Number of groups mapped to roles | Each group that grants access to the UI, the API or Alertmanager silences needs a mapping and a test case. Large or nested directories multiply the testing. | Limit access to a small set of groups, such as read-only and operator. Document the mapping in a table that reviewers can read. |
| Number of scrape paths needing separate authentication | Scrapes from targets usually cannot complete an interactive SSO login, so they rely on TLS client certificates or basic authentication. Each path needs its own credential design, rotation and failure test. | Inventory every scrape job and exporter endpoint early. Group targets that can share one credential method, and keep the list in version control. |
| Number of environments and certificate chains | Each environment (for example development, staging and production) may use different identity tenants, hostnames and internal certificate authorities, which multiplies configuration and renewal work. | Use the same proxy and auth configuration across environments with only variables changed. Confirm which certificate authority issues each chain before starting. |
| Compliance evidence requests for access control | Assessors and internal reviewers may ask for proof of who can reach each endpoint, how sessions expire, and how access changes are logged. Producing that evidence takes extra configuration and documentation time. | Ask early which control evidence your assessor expects and build audit logging and access reports into the design. DeployOpen prepares evidence for assessments but does not issue audit reports. |
| Whether the authenticating proxy is already in use | If your organization already runs an SSO-aware proxy for other internal tools, Prometheus can usually join that pattern. If not, the team must select, deploy, harden and operate a new component. | Reuse the existing proxy and its identity integration where possible. Confirm any licensing terms for the proxy, since they are a cost separate from the people doing the work. |
What to monitor, rotate and document after SSO goes live
Once SSO is in front of Prometheus and Alertmanager, the proxy becomes a dependency for every dashboard, rule review and alert silence, so its health needs its own monitoring. Track failed and denied logins at the proxy, token validation errors, and the proxy's upstream health checks against the Prometheus and Alertmanager web endpoints. Alert on a sustained rise in failures, since a broken identity provider connection can lock out on-call engineers during an incident. Also decide who owns the break-glass procedure: a documented way to reach the UI through a separately controlled path, such as a local account kept disabled until needed, a bastion session, or direct access from a jump host. Test that path on a schedule, because an untested fallback usually fails when it is needed. Confirm with your identity team how the proxy behaves when the identity provider is unreachable, and record the answer.
Credentials on the non-SSO paths need a rotation schedule. Where you use TLS client certificates or HTTP basic authentication for scrapes and API callers, set an owner and a renewal date for each certificate and each bcrypt password hash in your web.yml file, and automate reissue where your certificate authority supports it. Basic authentication is only safe over TLS, so verify on every rotation that the endpoint still refuses plain HTTP. Upgrades also need attention. Prometheus minor releases follow a 6-week cycle, and the Prometheus release cycle page lists which lines receive fixes and for how long. After each upgrade, re-test the proxy's handling of the web UI, the API and the lifecycle endpoints, and confirm that the admin and lifecycle flags are still off unless you have a documented reason to enable them.
Access rules drift as people change roles. Schedule a review of the identity provider group mappings that the proxy uses to grant read, query, or administrative access, and remove access for anyone who has moved teams. Finally, keep a written access model that lists which groups can reach which endpoints, the scrape exemptions (which targets and paths bypass SSO and why), the credentials behind each exemption, and the owner of each. Store the break-glass procedure and the access model with the runbooks your on-call team uses, and review them after every major change. Auditors and security reviewers will ask for this evidence, and an accurate record is what lets your team answer those questions quickly.
Questions teams ask before adding SSO to Prometheus
Can we add SSO to Prometheus without modifying Prometheus?
Yes. Prometheus has no built-in single sign-on, so SSO is normally added with an authenticating reverse proxy in front of the web UI and API, and Prometheus itself is left as configured. The proxy handles the OIDC or SAML login, and Prometheus only sees traffic that has already passed authentication. The main design work is in the proxy: which identity provider it trusts, how it maps groups to access, and how it passes or strips identity headers. Confirm that your chosen proxy supports your identity provider's protocol and that Prometheus is bound so it cannot be reached directly, bypassing the proxy.
Does the scrape path need to go through SSO?
Usually not. Human users open the UI and call the API through the proxy, while Prometheus scrapes targets directly over HTTP and does not log in interactively. Scrapes are normally protected with TLS and client certificates or HTTP basic authentication on the target side, which the Prometheus security model supports. Basic authentication sends credentials in cleartext without TLS, so use TLS wherever basic authentication is enabled. Confirm which endpoints must stay reachable by machines, such as the Prometheus scrape of exporters and Alertmanager's API, and keep those paths separate from the SSO-protected routes.
What effort and cost drivers apply, and do we need a partner?
Prometheus itself has no license fee, so the cost is labor, infrastructure and ongoing upkeep. The main drivers are the number of entry points that need protection, the complexity of your identity provider setup, how many groups or roles need separate access, and whether you run multiple Prometheus or Alertmanager instances. Costs are mostly one-time for design and build, then recurring for proxy patching, certificate rotation and access reviews. Whether you need a partner depends on in-house experience with OIDC or SAML and reverse proxies. Ask any partner for a written scope listing endpoints, identity provider changes, test cases and handover, then compare it with your internal estimate.
How long does this take, and what depends on our environment?
Duration depends on your environment more than on Prometheus. The biggest variables are how quickly your identity team can register the application and issue client credentials, whether network paths and TLS certificates are already in place, how many Prometheus and Alertmanager instances need protection, and how many access policies must be written and tested. Change approval windows and security review cycles often add more elapsed time than the technical build. Ask for a timeline that separates identity team dependencies from platform work, and confirm what evidence your security team needs before sign-off.
What do our identity and platform teams need to provide?
The identity team typically provides the identity provider tenant or realm, an OIDC client or SAML service provider registration, group or role claims that map to Prometheus access, and a decision on session lifetime and multi-factor policy. The platform team provides hosts or containers for the proxy, DNS and TLS certificates, network rules that prevent direct access to Prometheus and Alertmanager, and monitoring of the proxy itself. Both teams should agree who owns group membership changes and who receives alerts when the proxy fails. Confirm these responsibilities in writing before build starts so that access does not depend on one person.
Can our team do this in-house?
Often yes, if you already run reverse proxies, manage OIDC or SAML clients and operate Prometheus. The work is configuration-heavy rather than deeply novel, but errors are costly because a misconfigured route can expose the admin API. Prometheus admin HTTP APIs are disabled by default and enabled only with flags such as --web.enable-admin-api and --web.enable-lifecycle, so keep them off unless you have a specific need. An in-house team should test unauthenticated access to every path, verify headers cannot be spoofed and rehearse account removal. If any of these areas are new to the team, a short scoped review or partner engagement can reduce risk.
Does SSO alone secure the admin APIs and exporters?
No. SSO only controls who reaches the endpoints the proxy protects. The Prometheus security model notes there is no built-in CSRF protection on mutating endpoints, so the proxy should block or restrict them. Admin and lifecycle endpoints should stay disabled unless required. Exporters such as SNMP and Blackbox take targets from URL parameters, so anyone with HTTP access to them can make them send requests to arbitrary endpoints. Confirm the proxy blocks these paths for all but named operators, restrict exporter network access, and review these rules after each change.
What changes after a Prometheus upgrade?
The proxy configuration usually survives an upgrade, but the upgrade is a change that should be tested against your authentication path. Prometheus moves on a 6-week minor release cycle, and after those 6 weeks a minor release generally no longer receives bug fixes, while long-term support releases receive bug fixes for one year. Check after each upgrade that the UI, API and scrape endpoints still behave as expected, that headers the proxy passes are still read correctly, and that any new endpoint is covered by your access rules. Confirm your target line with the release cycle page before scheduling the change.
How DeployOpen scopes, builds and hands over Prometheus SSO
DeployOpen plans and implements SSO in front of Prometheus and Alertmanager inside your own infrastructure, using an authenticating reverse proxy that matches your identity provider. Each step is written down, tested against the endpoints that matter, and handed to your team with the configuration and evidence your security and compliance reviewers need.
How we scope
- Inventory every Prometheus and Alertmanager web UI, API and scrape path that needs a login or certificate check.
- Confirm the identity provider, OIDC or SAML, group mapping and which teams can reach which endpoints.
- Agree in writing which TLS, basic authentication and admin API settings are in scope before work starts.
How we build
- Place an authenticating reverse proxy in front of the web UI and API, with TLS on every hop that carries credentials.
- Keep the admin and lifecycle endpoints off the proxied routes and verify they stay disabled after changes.
- Configure basic authentication with bcrypt-hashed passwords for scrapes and APIs that cannot use SSO, and test the failure paths.
How we hand over
- Deliver the proxy and Prometheus configuration, with each setting explained and stored in your version control.
- Provide a test report covering login, logout, group-based access, certificate handling and unauthenticated requests.
- Walk your operations team through certificate rotation, adding users and troubleshooting login failures.
How we support
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
- Ongoing support, upgrades and continuous testing are available as a retainer, including retesting after Prometheus version changes.
- Ask for a quote built from the written scope, covering one-time build work and any recurring support you choose.

