From 08b61b40ed5717c5186770b2a2f2a21816d7f6c1 Mon Sep 17 00:00:00 2001 From: Lawrence Thorpe Date: Tue, 25 Apr 2023 14:41:01 +0100 Subject: docs: fix LoadCredentialEncrypted example (#27387) Embedded credential name 'ciphertext.cred' does not match filename 'foobar', refusing. --- docs/CREDENTIALS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/CREDENTIALS.md b/docs/CREDENTIALS.md index 8cdf6d7ffa..083c7ecc3c 100644 --- a/docs/CREDENTIALS.md +++ b/docs/CREDENTIALS.md @@ -195,7 +195,7 @@ The `systemd-creds` tool provides the commands `encrypt` and `decrypt` to encrypt and decrypt/authenticate credentials. Example: ```sh -systemd-creds encrypt plaintext.txt ciphertext.cred +systemd-creds encrypt --name=foobar plaintext.txt ciphertext.cred shred -u plaintext.txt systemd-run -P --wait -p LoadCredentialEncrypted=foobar:$(pwd)/ciphertext.cred systemd-creds cat foobar ``` -- cgit v1.2.1