summaryrefslogtreecommitdiffstats
path: root/man/systemd.generator.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-06-30 11:45:59 +0200
committerLennart Poettering <lennart@poettering.net>2023-07-04 23:18:11 +0200
commit771c76294a42a4b53c0966b0b0fd1470c770ddc2 (patch)
tree3bab9addb7cff605458c48ea0d46c30d8f72092a /man/systemd.generator.xml
parentdoc: document inird credentials + and how to consume credentials in generators (diff)
downloadsystemd-771c76294a42a4b53c0966b0b0fd1470c770ddc2.tar.xz
systemd-771c76294a42a4b53c0966b0b0fd1470c770ddc2.zip
man: document how credentials are passed into generators
Diffstat (limited to '')
-rw-r--r--man/systemd.generator.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/man/systemd.generator.xml b/man/systemd.generator.xml
index 5e39c5877f..7b2501aa77 100644
--- a/man/systemd.generator.xml
+++ b/man/systemd.generator.xml
@@ -190,6 +190,20 @@
<varname>ConditionArchitecture=</varname> in
<citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para></listitem>
</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>
</refsect1>