# How to reference grafana.ini Auzure Auth config from a Secret

**URL:** <https://community.grafana.com/t/how-to-reference-grafana-ini-auzure-auth-config-from-a-secret/51012>\
**Category:** Configuration\
**Created:** [July 26, 2021, 2:44pm UTC](https://community.grafana.com/t/how-to-reference-grafana-ini-auzure-auth-config-from-a-secret/51012 "2021-07-26T14:44:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sadikc](https://avatars.discourse-cdn.com/v4/letter/s/90db22/32.png) [@sadikc](https://community.grafana.com/u/sadikc)\
**Post date:** [July 26, 2021, 2:44pm UTC](https://community.grafana.com/t/how-to-reference-grafana-ini-auzure-auth-config-from-a-secret/51012/1 "2021-07-26T14:44:46Z")

</div>

Since we are saving our helm chart in a repository, we do not want to check in the grafan.ini config into Git since it contains Client Secret. Is there a way to reference that via Secret or ConfigMap ?

---

<div class="post-metadata">

**Author:** ![sadikc](https://avatars.discourse-cdn.com/v4/letter/s/90db22/32.png) [@sadikc](https://community.grafana.com/u/sadikc)\
**Post date:** [July 26, 2021, 3:41pm UTC](https://community.grafana.com/t/how-to-reference-grafana-ini-auzure-auth-config-from-a-secret/51012/2 "2021-07-26T15:41:14Z")

</div>

Answered my own question : [Configuration | Grafana Labs](https://grafana.com/docs/grafana/latest/administration/configuration/#configure-with-environment-variables)

---

<div class="post-metadata">

**Author:** ![sadikc](https://avatars.discourse-cdn.com/v4/letter/s/90db22/32.png) [@sadikc](https://community.grafana.com/u/sadikc)\
**Post date:** [July 26, 2021, 3:41pm UTC](https://community.grafana.com/t/how-to-reference-grafana-ini-auzure-auth-config-from-a-secret/51012/3 "2021-07-26T15:41:53Z")

</div>

All I require is a secret that contains those variables with the specified format and reference the secret in the chart values.yaml
