ViViDboarder / vaultwarden_ldap

Automate LDAP invites to Vaultwarden
GNU General Public License v3.0
161 stars 29 forks source link

Use Docker Secrets for admin token and ldap password #148

Open gKits opened 3 months ago

gKits commented 3 months ago

I have read through the documentation and could not find any mention of being able to use docker secrets directly.
Since Vaultwarden itself allows you to use the common _FILE suffix behind its environment variables I was curious if it's possible to just pass my docker secret of my admin token to my LDAP sync.
The same goes for my LDAP Password. I already have my LDAP user password stored in a secret and it would be nice if I could continue using the secrets directly.

ViViDboarder commented 3 months ago

Not yet, definitely open to merging something for that.