From f62c5ea1d61e5343dc2cb2749bb5e4b9a075ac5b Mon Sep 17 00:00:00 2001 From: Mitsuru Kariya Date: Fri, 7 Jul 2023 07:01:56 +0900 Subject: [PATCH] Fix usage typo of config truststore command of admin-cli (#16488) The option to save the truststore password in config truststore command of admin-cli is -trustpass, not -storepass. --- .../keycloak/client/admin/cli/commands/ConfigTruststoreCmd.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/client-cli/admin-cli/src/main/java/org/keycloak/client/admin/cli/commands/ConfigTruststoreCmd.java b/integration/client-cli/admin-cli/src/main/java/org/keycloak/client/admin/cli/commands/ConfigTruststoreCmd.java index 24c0de13a3..36dde42def 100644 --- a/integration/client-cli/admin-cli/src/main/java/org/keycloak/client/admin/cli/commands/ConfigTruststoreCmd.java +++ b/integration/client-cli/admin-cli/src/main/java/org/keycloak/client/admin/cli/commands/ConfigTruststoreCmd.java @@ -189,7 +189,7 @@ public class ConfigTruststoreCmd extends AbstractAuthOptionsCmd { out.println(" " + PROMPT + " " + CMD + " config truststore " + OS_ARCH.path("~/.keycloak/truststore.jks")); out.println(); out.println("Specify a truststore, and password - truststore will automatically be used without prompting for password:"); - out.println(" " + PROMPT + " " + CMD + " config truststore --storepass " + OS_ARCH.envVar("PASSWORD") + " " + OS_ARCH.path("~/.keycloak/truststore.jks")); + out.println(" " + PROMPT + " " + CMD + " config truststore --trustpass " + OS_ARCH.envVar("PASSWORD") + " " + OS_ARCH.path("~/.keycloak/truststore.jks")); out.println(); out.println("Remove truststore configuration:"); out.println(" " + PROMPT + " " + CMD + " config truststore --delete");