prometheus/storage/remote/azuread
bragi92 14fc57e4cf
remote_write azure auth : allow empty client_id to suppport system assigned managed identity (#16421)
* squash (#1)

* remote-write: allow empty azure client_id to support system assigned managed identity

* add blank line for tests

* remote-write: allow empty azure client_id to support system assigned managed identity

Signed-off-by: Kaveesh Dubey <kadubey@microsoft.com>

* add blank line for tests

Signed-off-by: Kaveesh Dubey <kadubey@microsoft.com>

---------

Signed-off-by: Kaveesh Dubey <kadubey@microsoft.com>

* treat empty client_id as system-assigned identity; this is a valid case

Signed-off-by: Kaveesh Dubey <kadubey@microsoft.com>

* rename file 

Signed-off-by: bragi92 <kadubey@microsoft.com>

---------

Signed-off-by: Kaveesh Dubey <kadubey@microsoft.com>
Signed-off-by: bragi92 <kadubey@microsoft.com>
2025-05-24 15:01:49 +02:00
..
testdata remote_write azure auth : allow empty client_id to suppport system assigned managed identity (#16421) 2025-05-24 15:01:49 +02:00
azuread_test.go remote_write azure auth : allow empty client_id to suppport system assigned managed identity (#16421) 2025-05-24 15:01:49 +02:00
azuread.go remote_write azure auth : allow empty client_id to suppport system assigned managed identity (#16421) 2025-05-24 15:01: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.