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

CS tool, There is success message when we try to remove non-existents entry from storage file.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.9.0.CR1
    • None
    • Credential Store
    • None

      When we try remove non-existent alias entry from credential store storage file then we get success message.

      There is expected error message.

      How to reproduce:
      Create credential store storage file and add there alias

      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
      

      We run command for remove alias from storage and in both cases we get success message:

      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
      Alias "secret_alias" has been successfully removed
      
      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
      Alias "secret_alias" has been successfully removed
      

            mpetrov@redhat.com Michal Petrov
            hsvabek_jira Hynek Švábek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: