summaryrefslogtreecommitdiffstats
path: root/src/ask-password
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2023-01-13 16:22:46 +0100
committerDaan De Meyer <daan.j.demeyer@gmail.com>2023-06-08 14:09:18 +0200
commitbbfb25f4b923bde7bcff7ef69e6e83e90440e704 (patch)
tree225f6e17270b20239288da4566d294531ae59024 /src/ask-password
parentexecute: Make credential_search_path() more flexible (diff)
downloadsystemd-bbfb25f4b923bde7bcff7ef69e6e83e90440e704.tar.xz
systemd-bbfb25f4b923bde7bcff7ef69e6e83e90440e704.zip
creds: Add ImportCredential=
ImportCredential= takes a credential name and searches for a matching credential in all the credential stores we know about it. It supports globs which are expanded so that all matching credentials are loaded.
Diffstat (limited to 'src/ask-password')
-rw-r--r--src/ask-password/ask-password.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ask-password/ask-password.c b/src/ask-password/ask-password.c
index de41d7b641..b45842f1cb 100644
--- a/src/ask-password/ask-password.c
+++ b/src/ask-password/ask-password.c
@@ -44,8 +44,8 @@ static int help(void) {
" --id=ID Query identifier (e.g. \"cryptsetup:/dev/sda5\")\n"
" --keyname=NAME Kernel key name for caching passwords (e.g. \"cryptsetup\")\n"
" --credential=NAME\n"
- " Credential name for LoadCredential=/SetCredential=\n"
- " credentials\n"
+ " Credential name for ImportCredential=, LoadCredential= or\n"
+ " SetCredential= credentials\n"
" --timeout=SEC Timeout in seconds\n"
" --echo=yes|no|masked\n"
" Control whether to show password while typing (echo)\n"