table of contents
- bookworm 252.36-1~deb12u1
- bookworm-backports 254.26-1~bpo12+1
- testing 257.7-1
- unstable 257.7-1
- experimental 258~rc1-1
SYSTEMD.SYSTEM-CREDENTIALS(7) | systemd.system-credentials | SYSTEMD.SYSTEM-CREDENTIALS(7) |
NAME¶
systemd.system-credentials - System Credentials
DESCRIPTION¶
System and Service Credentials[1] are data objects that may be passed into booted systems or system services as they are invoked. They can be acquired from various external sources, and propagated into the system and from there into system services. Credentials may optionally be encrypted with a machine-specific key and/or locked to the local TPM2 device, and are only decrypted when the consuming service is invoked.
System credentials may be used to provision and configure various aspects of the system. Depending on the consuming component credentials are only used on initial invocations or are needed for all invocations.
Credentials may be used for any kind of data, binary or text, and may carry passwords, secrets, certificates, cryptographic key material, identity information, configuration, and more.
WELL KNOWN SYSTEM CREDENTIALS¶
firstboot.keymap
Added in version 252.
firstboot.locale, firstboot.locale-messages
Added in version 252.
firstboot.timezone
Added in version 252.
login.issue
Consumed by /usr/lib/tmpfiles.d/provision.conf, see tmpfiles.d(5).
Added in version 252.
login.motd
Consumed by /usr/lib/tmpfiles.d/provision.conf, see tmpfiles.d(5).
Added in version 252.
network.hosts
Consumed by /usr/lib/tmpfiles.d/provision.conf, see tmpfiles.d(5).
Added in version 252.
network.dns, network.search_domains
Added in version 253.
network.conf.*, network.link.*, network.netdev.*, network.network.*
Note that the resulting files are created world-readable, it is hence recommended to not include secrets in these credentials, but supply them via separate credentials directly to systemd-networkd.service, e.g. network.wireguard.* as described below.
Added in version 256.
network.wireguard.*
Added in version 256.
passwd.hashed-password.root, passwd.plaintext-password.root
Added in version 252.
passwd.shell.root
Added in version 252.
ssh.authorized_keys.root
Consumed by /usr/lib/tmpfiles.d/provision.conf, see tmpfiles.d(5).
Added in version 252.
ssh.listen
Added in version 256.
sysusers.extra
Added in version 252.
sysctl.extra
Added in version 252.
tmpfiles.extra
Added in version 252.
fstab.extra
Added in version 254.
vconsole.keymap, vconsole.keymap_toggle, vconsole.font, vconsole.font_map, vconsole.font_unimap
Added in version 253.
getty.auto
Added in version 258.
getty.ttys.serial, getty.ttys.container
Added in version 254.
journal.forward_to_socket
Added in version 256.
journal.storage
Added in version 256.
vmm.notify_socket
Added in version 253.
shell.prompt.prefix, shell.prompt.suffix
Added in version 257.
shell.welcome
Added in version 257.
system.machine_id
Added in version 254.
system.hostname
Added in version 254.
home.add-signing-key.*
Added in version 258.
home.create.*
Added in version 256.
home.register.*
Added in version 258.
cryptsetup.passphrase, cryptsetup.tpm2-pin, cryptsetup.fido2-pin, cryptsetup.pkcs11-pin, cryptsetup.luks2-pin
Added in version 256.
systemd.extra-unit.*, systemd.unit-dropin.*
Added in version 256.
udev.conf.*, udev.rules.*
Added in version 256.
import.pull
Added in version 257.
userdb.user.*, userdb.group.*, userdb.transient.user.*, userdb.transient.group.*
Any passed user records must contain uid and gid fields. Any passed group records must contain a gid field. For both user and group records, the credential suffix (for "userdb.user.foobar" the suffix is "foobar") must match the user or group name field from the user or group record.
Note that the records created for userdb.user.* and userdb.group.* credentials are created in /etc/userdb/ and the records created for userdb.transient.user.* and userdb.transient.group.* are created in /run/userdb/ (/etc/passwd and /etc/group are not modified).
Added in version 258.
fsck.*
Added in version 258.
quotacheck.*
Added in version 258.
SEE ALSO¶
NOTES¶
- 1.
- System and Service Credentials
- 2.
- JSON User
- 3.
- JSON Group
systemd 258~rc1 |