systemd-creds driver for secrets management #26762
jonas-hagen
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The very powerful integration of podman and systemd via quadlets makes systemd-creds (also see here) the obvious choice for secure secrets management.
This is not easily possible with one of the current drivers (file, shell, pass) and a new systemd secrets driver would be highly appreciated. The driver would:
LoadCredentialEncrypted=
directive upon systemd unit generation for every secret requested in a quadletSecret=
directiveThere are workarounds to make it work with the shell driver. One of them looks like below. Unfortunately one has to put the SECRET_ID in the container quadlet file, which has to be extracted from
/var/lib/containers/storage/secrets/secrets.json
after creation of the secret with podman./etc/containers/containers.conf
:/etc/containers/systemd/printenv.container
/var/lib/containers/storage/secrets/secrets.json
(created by podman)/var/lib/containers/storage/secrets/
would possibly be used instead of/etc/containers/secrets/
.Beta Was this translation helpful? Give feedback.
All reactions