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.
This commit is contained in:
Mitsuru Kariya 2023-07-07 07:01:56 +09:00 committed by GitHub
parent 19a74ec3d3
commit f62c5ea1d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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");