1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00

man: document how credentials are passed into generators

This commit is contained in:
Lennart Poettering 2023-06-30 11:45:59 +02:00
parent df5f51c3fe
commit 771c76294a

View File

@ -190,6 +190,20 @@
<varname>ConditionArchitecture=</varname> in <varname>ConditionArchitecture=</varname> in
<citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para></listitem> <citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para></listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term><varname>$CREDENTIALS_DIRECTORY</varname></term>
<term><varname>$ENCRYPTED_CREDENTIALS_DIRECTORY</varname></term>
<listitem><para>If set, refers to the directory system credentials have been placed in. Credentials
passed into the system in plaintext form will be placed in <varname>$CREDENTIALS_DIRECTORY</varname>,
and those passed in in encrypted form will be placed in
<varname>$ENCRYPTED_CREDENTIALS_DIRECTORY</varname>. Use the
<citerefentry><refentrytitle>systemd-creds</refentrytitle><manvolnum>1</manvolnum></citerefentry>
command to automatically decrypt/authenticate credentials passed in, if needed. Specifically, use the
<command>systemd-creds --system cat</command> command.</para></listitem>
</varlistentry>
</variablelist> </variablelist>
</refsect1> </refsect1>