[jboss-jira] [JBoss JIRA] (ELY-1036) CS tool, There is possibility define same option parameter more times.

Hynek Švábek (JIRA) issues at jboss.org
Tue Mar 28 03:17:01 EDT 2017


Hynek Švábek created ELY-1036:
---------------------------------

             Summary: CS tool, There is possibility define same option parameter more times. 
                 Key: ELY-1036
                 URL: https://issues.jboss.org/browse/ELY-1036
             Project: WildFly Elytron
          Issue Type: Bug
            Reporter: Hynek Švábek
            Assignee: Darran Lofthouse


There is possibility define same option parameter more times. It doesn't matter if some short/long form or combination there is used first occurrence in command.

Command with two option "add" and "secret".
{code}
[hsvabek at localhost bin]$ java -jar wildfly-elytron-tool.jar credential-store --add myalias --secret supersecretpassword --location="test.store" --uri "cr-store://test.store?modifiable=true;create=true;keyStoreType=JCEKS" --password mycspassword --summary --salt 12345678 --iteration 230 --add alias2 --secret secretValue2
Alias "myalias" has been successfully stored
Credential store command summary:
--------------------------------------
/subsystem=elytron/credential-store=test:add(uri="cr-store://test.store?modifiable=true;create=true;keyStoreType=JCEKS",relative-to=jboss.server.data.dir,credential-reference={clear-text="MASK-uNWeyrmbByBEjgZM1FAPQW==;12345678;230"})
{code}

*Same for "mask" command.*



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jboss-jira mailing list