Skip to content

Commit

Permalink
Docs: Document the ability to use env vars in ldap.toml (#23304)
Browse files Browse the repository at this point in the history
This was implemented but never documented.

This is related to:
#8832
#5248
#20173
  • Loading branch information
svenstaro committed Apr 2, 2020
1 parent c5252f1 commit b63b829
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/sources/auth/ldap.md
Expand Up @@ -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+
Expand Down

0 comments on commit b63b829

Please sign in to comment.