Skip to content

feature request: Adding LDAP_BIND_PW_FILE to support docker secrets #3457

@paulheg

Description

@paulheg

Context

I want to connect LDAP but want to use docker secrets.

Description

As the title states I want to use docker secrets to inject passwords.
I have looked trough the supported environment variables but couldn't find anything.
Since my credentials are already stored inside a file for docker secrets I would like to have one source of truth, besides the other security benefits.

Possbile candidates would be:

  • LDAP_BIND_PW_FILE
  • SASLAUTHD_LDAP_PASSWORD_FILE

Alternatives

I can write the passwords into a .env file 👎

Applicable Users

For anyone using openldap and docker compose.

Are you going to implement it?

Yes, because I know the probability of someone else doing it is low and I can learn from it.

What are you going to contribute?

I would love to contribute and implement it my self, at least I can try.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions