summaryrefslogtreecommitdiffstats
path: root/man/systemd.exec.xml
diff options
context:
space:
mode:
authorAlbert Brox <albert@exypno.tech>2021-07-24 18:38:22 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2022-01-08 14:17:51 +0100
commit3989bdc1ad7cca4d75c06cdf601fea2cb37ba337 (patch)
tree1bcae418b3520570d818127ee207d2e8bf65b76c /man/systemd.exec.xml
parentMerge pull request #22044 from keszybz/minor-man-page-adjustments (diff)
downloadsystemd-3989bdc1ad7cca4d75c06cdf601fea2cb37ba337.tar.xz
systemd-3989bdc1ad7cca4d75c06cdf601fea2cb37ba337.zip
core: teach LoadCredential= to load from a directory
Diffstat (limited to 'man/systemd.exec.xml')
-rw-r--r--man/systemd.exec.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml
index 3378689b75..079ff14aea 100644
--- a/man/systemd.exec.xml
+++ b/man/systemd.exec.xml
@@ -3007,7 +3007,10 @@ StandardInputData=SWNrIHNpdHplIGRhIHVuJyBlc3NlIEtsb3BzLAp1ZmYgZWVtYWwga2xvcHAncy
newline characters and <constant>NUL</constant> bytes. If the file system path is omitted it is
chosen identical to the credential name, i.e. this is a terse way do declare credentials to inherit
from the service manager into a service. This option may be used multiple times, each time defining
- an additional credential to pass to the unit.</para>
+ an additional credential to pass to the unit. Alternatively, if the path is a directory, every file
+ in that directory will be loaded as a separate credential. The ID for each credential will be the
+ provided ID suffixed with <literal>_$FILENAME</literal> (e.g., <literal>Key_file1</literal>). When
+ loading from a directory, symlinks will be ignored.</para>
<para>The <varname>LoadCredentialEncrypted=</varname> setting is identical to
<varname>LoadCredential=</varname>, except that the credential data is decrypted before being passed