mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-04 12:01:06 +02:00
The ClientSecret field in OAuthConfig was typed as plain string, causing it to be exposed in plaintext via the /-/config HTTP endpoint. Change it to config_util.Secret so Prometheus redacts it as <secret>. Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
azuread package
azuread provides an http.RoundTripper that attaches an Azure AD accessToken to remote write requests.
This module is considered internal to Prometheus, without any stability guarantees for external usage.