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

WildFly Elytron Tool, Vault command: converted storage file overwrites existing file on filesystem.

    Details

      Description

      Vault command: converted storage file overwrites existing file on filesystem.

      Expected behaviour is error or some option which can enable overwriting (flag option?).

      How to reproduce:
      download all attachments to same location as wildfly-elytron-tool.jar file and then run this command twice and the each one ends with success.

      java -jar wildfly-elytron-tool.jar vault --enc-dir . --keystore server.store --keystore-password secretsecret --location converted001.store --alias jboss --summary
      Vault (enc-dir=".";keystore="server.store") converted to credential store "converted001.store"
      Vault Conversion summary:
      --------------------------------------
      Vault Conversion Successful
      CLI command to add new credential store:
      /subsystem=elytron/credential-store=cs:add(relative-to=jboss.server.data.dir,location="converted001.store",implementation-properties={},credential-reference={clear-text="MASK-2hKo56F1a3jYGnJwhPmiF5;12345678;34"})
      

        Gliffy Diagrams

          Attachments

          1. server.store
            0.5 kB
          2. VAULT.dat
            1 kB

            Issue Links

              Activity

                People

                • Assignee:
                  ivassile Ilia Vassilev
                  Reporter:
                  hsvabek Hynek Švábek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: