From d348386d18a7c54a6c8e657db496232c19ed8870 Mon Sep 17 00:00:00 2001 From: rodrigosilva-ciandt <84101915+rodrigosilva-ciandt@users.noreply.github.com> Date: Tue, 14 Sep 2021 18:07:04 -0300 Subject: [PATCH] Update azuread docs to mention about env variables Add a note about the name of the environment variables to be used for configuring client_id and client_secret --- docs/sources/auth/azuread.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/sources/auth/azuread.md b/docs/sources/auth/azuread.md index 15209bcbd7e..e83c9f7e0e5 100644 --- a/docs/sources/auth/azuread.md +++ b/docs/sources/auth/azuread.md @@ -108,6 +108,12 @@ allowed_domains = allowed_groups = ``` +You can also use the following enviroment variables to configure **client_id** and **client_secret**: +``` +GF_AUTH_AZUREAD_CLIENT_ID +GF_AUTH_AZUREAD_CLIENT_SECRET +``` + **Note:** Ensure that the [root_url]({{< relref "../administration/configuration/#root-url" >}}) in Grafana is set in your Azure Application Reply URLs (**App** -> **Settings** -> **Reply URLs**) ### Configure allowed groups