Where are the LDAP configurations stored?

Hello Everyone,

I was wondering were the basic configuration (e.g. BASE DN, passwords, e.t.c.) for the LDAP / AD integration are stored. Are they stored in a file (like e.g. the config.php) or are they stored in the database?

Is there a way of initializing the LDAP variables without using the GUI or the occ command line?

I am asking because I am using the docker image and I would like to use docker secrets to handle the ldap credentials. If the configurations are stored in a file, then probably it will be possible to extend the image and use docker secrets for passing the ldap password.

Sorry if this question has been asked again, but I could not locate any relevant topics in the forum/documentation.

Thank you in advance and kind regards,

Vasileios