Hi,

while this is totally true, there is a shortcut for this that can be used inside the config layer :)

key@: env:OPENPKI_KEY_FROM_ENV

Oli

On 26.07.24 11:37, Martin Bartosch via OpenXPKI-users wrote:
Hi,

Just to confirm, is it possible to configure environment variable based 
password for LDAP? I couldn’t find see mention of that in man-pages (or maybe I 
was looking in the wrong place).
The OpenXPKI configuration allows to replace any literal configuration entry 
with the value returned by a Connector at runtime. We are using this mechanism 
to exclude sensitive information from the configuration itself so we can check 
it into a git repository without compromising sensitive information.

So this means that you can reference config values (e. g. passwords) from any 
source supported by a Connector, including Environment variables via 
Connector::Builtin::Env if you are so inclined.

Cheers

Martin



_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users

--
Protect your environment -  close windows and adopt a penguin!
_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to