Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-1091

CS tool, Summary output must reflect chosen option, now there is always CLI command for add new credential store.

    Details

      Description

      Summary output must reflect chosen option. When I run wildfly-elytron-tool with --remove and --summary I always get "add command for CLI"

      There is expected command for remove entry from credential store.
      Same problem is there for --aliases, --exists

      java -jar  wildfly-elytron-tool.jar credential-store --remove secret_alias --password pass123 --uri "cr-store://test1.jceks?modifiable=true;create=true;keyStoreType=JCEKS" -l test1.jceks --summary
      Alias "secret_alias" has been successfully removed
      Credential store command summary:
      --------------------------------------
      /subsystem=elytron/credential-store=test:add(uri="cr-store://test1.jceks?modifiable=true;create=true;keyStoreType=JCEKS",relative-to=jboss.server.data.dir,credential-reference={clear-text="pass123"})
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  yersan Yeray Borges
                  Reporter:
                  hsvabek Hynek Švábek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: