Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-10386

WildFly Elytron Tool, Help contains wrong description of "--create" option, there is description with true/false value.

XMLWordPrintable

      Help contains wrong description of "--create" option, there is description with true/false value.
      And now there is wrong behaviour too. I am able set some value (even invalid) for --create option and it is valid.
      I can set e.g. "--create false" and it pass. It is very confusing.

      --create option doesn't expect any value.

      Please make it consistent:

      1. "--create" is only flag -> please fix help usage and fix it in command (--create false must be invalid)
      2. "--create" expects true/false value, in this case leave help usage unchanged
      java -jar wildfly-elytron-tool.jar credential-store     --add secret_alias --password pass123 --secret secret_password --create false -f -l newstore.jceks
      Alias "secret_alias" has been successfully stored
      Credential store command summary:
      --------------------------------------
      /subsystem=elytron/credential-store=cs:add(relative-to=jboss.server.data.dir,location="newstore.jceks",create=true,implementation-properties={"keyStoreType"=>"JCEKS","create"=>"true","location"=>"newstore.jceks","modifiable"=>"true"},credential-reference={clear-text="pass123"})
      
      java -jar  wildfly-elytron-tool.jar credential-store --help
      ...
       -c,--create                     Create credential store [true/false]
      ...
      

              rhn-support-ivassile Ilia Vassilev
              hsvabek_jira Hynek Švábek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: