[GH-ISSUE #84] Feature Request: set secrets from file #35

Closed
opened 2026-02-27 08:14:51 +03:00 by kerem · 3 comments
Owner

Originally created by @kaysond on GitHub (Nov 24, 2021).
Original GitHub issue: https://github.com/lldap/lldap/issues/84

A common feature in many docker containers (mariadb, all of lsio containers, authelia) is the ability to set secret configuration parameters, or configuration parameters in general, via a file. Users supply an env var such as LLDAP_LDAP_USER_PASS_FILE which contains the location of a file whose contents set the parameter.

In particular, this is useful because it enables you to employ docker secrets, which in turn allows you to store secrets in a completely encrypted manner, and doesn't depend on plaintext storage.

See:

Originally created by @kaysond on GitHub (Nov 24, 2021). Original GitHub issue: https://github.com/lldap/lldap/issues/84 A common feature in many docker containers (mariadb, all of lsio containers, authelia) is the ability to set secret configuration parameters, or configuration parameters in general, via a file. Users supply an env var such as `LLDAP_LDAP_USER_PASS_FILE` which contains the location of a file whose contents set the parameter. In particular, this is useful because it enables you to employ docker secrets, which in turn allows you to store secrets in a completely encrypted manner, and doesn't depend on plaintext storage. See: * https://www.authelia.com/docs/configuration/secrets.html * https://github.com/linuxserver/docker-jellyfin#environment-variables-from-files-docker-secrets * https://github.com/docker-library/docs/tree/master/mariadb#environment-variables
kerem 2026-02-27 08:14:51 +03:00
Author
Owner

@nitnelave commented on GitHub (Nov 24, 2021):

This should be doable with a startup script. Do you want to have a go at it?

<!-- gh-comment-id:977653919 --> @nitnelave commented on GitHub (Nov 24, 2021): This should be doable with a startup script. Do you want to have a go at it?
Author
Owner

@kaysond commented on GitHub (Nov 24, 2021):

Sure I can probably get to it over the holiday weekend at some point

<!-- gh-comment-id:978123938 --> @kaysond commented on GitHub (Nov 24, 2021): Sure I can probably get to it over the holiday weekend at some point
Author
Owner

@kaysond commented on GitHub (Nov 25, 2021):

Closed by #89

<!-- gh-comment-id:979441454 --> @kaysond commented on GitHub (Nov 25, 2021): Closed by #89
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lldap-lldap#35
No description provided.