The Little-Known Mechanism for Securely Parameterizing Systemd...
summary
systemd provides a credentials system (added in v250) that passes named files into services via a credentials directory environment variable, mounts a per-service tmpfs holding one file per credential, enforces ACL/SELinux permissions, and compiles imports at activation time (1 MB overall default). systemd-creds handles listing and TPM encryption/decryption, supports AF_UNIX socket-backed dynamic sources, opt-in inheritance to containers/VMs, reload-triggered refresh, and TPM-locked sidecar files on the ESP as TPM-locked blobs.
AI-written summary · about
