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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.1.0.CR2
    • None
    • Credential Store
    • None

    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"})
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: