mirror of
https://github.com/prometheus/prometheus.git
synced 2026-06-14 19:10:05 -04: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> |
||
|---|---|---|
| .. | ||
| testdata | ||
| azuread.go | ||
| azuread_test.go | ||
| README.md | ||
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.