systemd.system-credentials systemd systemd.system-credentials 7 systemd.system-credentials System Credentials Description System and Service Credentials 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 The console key mapping to set (e.g. de). Read by systemd-firstboot1, and only honoured if no console keymap has been configured before. firstboot.locale firstboot.locale-messages The system locale to set (e.g. de_DE.UTF-8). Read by systemd-firstboot1, and only honoured if no locale has been configured before. firstboot.locale sets LANG, while firstboot.locale-message sets LC_MESSAGES. firstboot.timezone The system timezone to set (e.g. Europe/Berlin). Read by systemd-firstboot1, and only honoured if no system timezone has been configured before. login.issue The data of this credential is written to /etc/issue.d/50-provision.conf, if the file doesn't exist yet. agetty8 reads this file and shows its contents at the login prompt of terminal logins. See issue5 for details. Consumed by /usr/lib/tmpfiles.d/provision.conf, see tmpfiles.d5. login.motd The data of this credential is written to /etc/motd.d/50-provision.conf, if the file doesn't exist yet. pam_motd8 reads this file and shows its contents as "message of the day" during terminal logins. See motd5 for details. Consumed by /usr/lib/tmpfiles.d/provision.conf, see tmpfiles.d5. network.hosts The data of this credential is written to /etc/hosts, if the file doesn't exist yet. See hosts5 for details. Consumed by /usr/lib/tmpfiles.d/provision.conf, see tmpfiles.d5. network.dns network.search_domains DNS server information and search domains. Read by systemd-resolved.service8. network.netdev.* network.link.* network.network.* Configures network devices. Read by systemd-network-generator.service8. These credentials directly translate to a matching *.netdev, *.link or *.network file. Example: the contents of a credential network.link.50-foobar will be copied into a file 50-foobar.link. See systemd.netdev5, systemd.link5, systemd.network5 for details. Note that the resulting files are created world-readable, it's 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. network.wireguard.* Configures secrets for WireGuard netdevs. Read by systemd-networkd.service8. For more information, refer to the section of systemd.netdev5. passwd.hashed-password.root passwd.plaintext-password.root May contain the password (either in UNIX hashed format, or in plaintext) for the root users. Read by both systemd-firstboot1 and systemd-sysusers1, and only honoured if no root password has been configured before. passwd.shell.root The path to the shell program (e.g. /bin/bash) for the root user. Read by both systemd-firstboot1 and systemd-sysusers1, and only honoured if no root shell has been configured before. ssh.authorized_keys.root The data of this credential is written to /root/.ssh/authorized_keys, if the file doesn't exist yet. This allows provisioning SSH access for the system's root user. Consumed by /usr/lib/tmpfiles.d/provision.conf, see tmpfiles.d5. ssh.listen May be used to configure SSH sockets the system shall be reachable on. See systemd-ssh-generator8 for details. sysusers.extra Additional sysusers.d5 lines to process during boot. sysctl.extra Additional sysctl.d5 lines to process during boot. tmpfiles.extra Additional tmpfiles.d5 lines to process during boot. fstab.extra Additional mounts to establish at boot. For details, see systemd-fstab-generator8. vconsole.keymap vconsole.keymap_toggle vconsole.font vconsole.font_map vconsole.font_unimap Console settings to apply, see systemd-vconsole-setup.service8 for details. getty.ttys.serial getty.ttys.container Used for spawning additional login prompts, see systemd-getty-generator8 for details. journal.forward_to_socket Used by systemd-journald8 to determine where to forward log messages for socket forwarding, see journald.conf5 for details. vmm.notify_socket Configures an sd_notify3 compatible AF_VSOCK socket the service manager will report status information, ready notification and exit status on. For details see systemd1. system.machine_id Takes a 128bit ID to initialize the machine ID from (if it is not set yet). Interpreted by the service manager (PID 1). For details see systemd1. system.hostname Accepts a (transient) hostname to configure during early boot. The static hostname specified in /etc/hostname, if configured, takes precedence over this setting. Interpreted by the service manager (PID 1). For details see systemd1. home.create.* Creates a home area for the specified user with the user record data passed in. For details see homectl1. cryptsetup.passphrase cryptsetup.tpm2-pin cryptsetup.fido2-pin cryptsetup.pkcs11-pin cryptsetup.luks2-pin Specifies the passphrase/PINs to use for unlock encrypted storage volumes. For details see systemd-cryptsetup8. See Also systemd1 kernel-command-line7 smbios-type-117