Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-2464

CS tool, Add possibility to produce masked password

    XMLWordPrintable

Details

    Description

      This JIRA is requesting for specialized feature (option) of getting masked string.

      Now you can get value of masked password, but as a side effect of adding alias into credential store and parameter --summary have to be used.

      java -jar wildfly-elytron-tool.jar credential-store --add myalias --secret supersecretpassword --location="test.store" --uri "cr-store://test?modifiable=true;create=true;keyStoreType=JCEKS" --password mycspassword --salt 12345678 --iteration 230 --summary
      Alias "myalias" has been successfully stored
      Credential store command summary:
      --------------------------------------
      /subsystem=elytron/credential-store=test:add(uri="cr-store://test?modifiable=true;create=true;keyStoreType=JCEKS",relative-to=jboss.server.data.dir,credential-reference={clear-text="MASK-uNWeyrmbByBEjgZM1FAPQW==;12345678;230"})
      

      And in output there is masked string MASK-uNWeyrmbByBEjgZM1FAPQW==;12345678;230 hidden.

      Attachments

        Issue Links

          Activity

            People

              darran.lofthouse@redhat.com Darran Lofthouse
              mchoma@redhat.com Martin Choma
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: