mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Docs: Document the ability to use env vars in ldap.toml (#23304)
This was implemented but never documented. This is related to: https://github.com/grafana/grafana/issues/8832 https://github.com/grafana/grafana/issues/5248 https://github.com/grafana/grafana/pull/20173
This commit is contained in:
parent
c5252f1b64
commit
b63b82976b
@ -92,6 +92,14 @@ member_of = "memberOf"
|
||||
email = "email"
|
||||
```
|
||||
|
||||
### Using environment variables
|
||||
|
||||
You can interpolate variables in the TOML config from environment variables. For instance, you could externalize your `bind_password` that way:
|
||||
|
||||
```bash
|
||||
bind_password = "${LDAP_ADMIN_PASSWORD}"
|
||||
```
|
||||
|
||||
## LDAP Debug View
|
||||
|
||||
> Only available in Grafana v6.4+
|
||||
|
Loading…
Reference in New Issue
Block a user