systemd.system-credentials(7) — Linux manual page

NAME | DESCRIPTION | WELL KNOWN SYSTEM CREDENTIALS | SEE ALSO | NOTES | COLOPHON

SYSTEMD.SYSTEM-CREDENTIALS(7)d.system-credentialsD.SYSTEM-CREDENTIALS(7)

NAME         top

       systemd.system-credentials - System Credentials

DESCRIPTION         top

       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         top

       firstboot.keymap
           The console key mapping to set (e.g.  "de"). Read by
           systemd-firstboot(1), and only honoured if no console keymap
           has been configured before.

       firstboot.locale, firstboot.locale-message
           The system locale to set (e.g.  "de_DE.UTF-8"). Read by
           systemd-firstboot(1), 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-firstboot(1), 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.  agetty(8) reads this file and shows its contents at the
           login prompt of terminal logins. See issue(5) for details.

           Consumed by /usr/lib/tmpfiles.d/provision.conf, see
           tmpfiles.d(5).

       login.motd
           The data of this credential is written to
           /etc/motd.d/50-provision.conf, if the file doesn't exist yet.
           pam_motd(8) reads this file and shows its contents as
           "message of the day" during terminal logins. See motd(5) for
           details.

           Consumed by /usr/lib/tmpfiles.d/provision.conf, see
           tmpfiles.d(5).

       network.hosts
           The data of this credential is written to /etc/hosts, if the
           file doesn't exist yet. See hosts(5) for details.

           Consumed by /usr/lib/tmpfiles.d/provision.conf, see
           tmpfiles.d(5).

       network.dns, network.search_domains
           DNS server information and search domains. Read by
           systemd-resolved.service(8).

       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-firstboot(1) and systemd-sysusers(1), 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-firstboot(1) and
           systemd-sysusers(1), 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.d(5).

       sysusers.extra
           Additional sysusers.d(5) lines to process during boot.

       sysctl.extra
           Additional sysctl.d(5) lines to process during boot.

       tmpfiles.extra
           Additional tmpfiles.d(5) lines to process during boot.

       vconsole.keymap, vconsole.keymap_toggle, vconsole.font,
       vconsole.font_map, vconsole.font_unimap
           Console settings to apply, see
           systemd-vconsole-setup.service(8) for details.

       vmm.notify_socket
           Contains a AF_VSOCK or AF_UNIX address where to send a
           READY=1 notification datagram when the system has finished
           booting. See sd_notify(3) for more information. Note that in
           case the hypervisor does not support SOCK_DGRAM over
           AF_VSOCK, SOCK_SEQPACKET will be tried instead. The
           credential payload for AF_VSOCK should be in the form
           "vsock:CID:PORT".

           This feature is useful for hypervisors/VMMs or other
           processes on the host to receive a notification via VSOCK
           when a virtual machine has finished booting.

SEE ALSO         top

       systemd(1), kernel-command-line(7)

NOTES         top

        1. System and Service Credentials
           https://systemd.io/CREDENTIALS

COLOPHON         top

       This page is part of the systemd (systemd system and service
       manager) project.  Information about the project can be found at
       ⟨http://www.freedesktop.org/wiki/Software/systemd⟩.  If you have
       a bug report for this manual page, see
       ⟨http://www.freedesktop.org/wiki/Software/systemd/#bugreports⟩.
       This page was obtained from the project's upstream Git repository
       ⟨https://github.com/systemd/systemd.git⟩ on 2023-06-23.  (At that
       time, the date of the most recent commit that was found in the
       repository was 2023-06-23.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to
       man-pages@man7.org

systemd 253                                SYSTEMD.SYSTEM-CREDENTIALS(7)

Pages that refer to this page: systemd.directives(7)systemd.index(7)