Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Is it possible to read LDAP bind password from an environment variable? #5248

Closed
sgarg7 opened this issue Jun 1, 2016 · 5 comments

Comments

@sgarg7
Copy link
Contributor

sgarg7 commented Jun 1, 2016

I would prefer not to add LDAP password for the first bind user to the ldap.toml file. It would be nice to be able to use environment variables like the main Grafana config file does. I couldn't find in the documentation that ldap.toml supports this. Does it? Can it be added if it doesn't?

@torkelo
Copy link
Member

torkelo commented Jun 2, 2016

no, the ldap config does not support this, will likely not be added.

The initial ldap bind password does not need to be user with many ldap permissions, only read/search permissions.

@nemo83
Copy link

nemo83 commented Apr 19, 2018

is this still the case?

@razahasan1984
Copy link

Is there any alternative for securing it ?

@wayneworkman
Copy link

I'd prefer LDAP to be configured via environment variables.

@flamein
Copy link

flamein commented Jun 25, 2019

Please take a look at #17526

oddlittlebird pushed a commit that referenced this issue Apr 2, 2020
This was implemented but never documented.

This is related to:
#8832
#5248
#20173
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants