prometheus/storage/remote/azuread
Julien Pivotto 5ccebcdb3f remote/azuread: use Secret type for OAuth client_secret
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>
2026-04-27 12:17:49 +02:00
..
testdata RW2: Allow custom scope in azuread (#17483) 2025-12-02 11:45:23 +00:00
azuread.go remote/azuread: use Secret type for OAuth client_secret 2026-04-27 12:17:49 +02:00
azuread_test.go remote/azuread: use Secret type for OAuth client_secret 2026-04-27 12:17:49 +02:00
README.md Add Azure AD package for remote write (#11944) 2023-06-01 15:20:10 -06:00

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.