You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[...] In an ideal world, well-behaved service code would directly support credentials passed this way, i.e. look for $CREDENTIALS_DIRECTORY and load the credential data it needs from there. [...]
This way, passwords, etc. wouldn't even have to be passed as env vars to the process. I'd like to support that in Wakapi. Env var would still take precedence if set, though.
Moreover, the example wakapi.service file should contain an example that uses these managed credentials for database credentials and password salt.
Systemd version 247 introduced credentials management, and version 250 made it even more convenient to use.
They suggest that:
This way, passwords, etc. wouldn't even have to be passed as env vars to the process. I'd like to support that in Wakapi. Env var would still take precedence if set, though.
Moreover, the example
wakapi.service
file should contain an example that uses these managed credentials for database credentials and password salt.Something like:
Version 250 doesn't seem to be as wide-spread, yet though.
Also, include a
systemd-creds
command example on how to create new (encrypted) creds.The text was updated successfully, but these errors were encountered: