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

WildFly Elytron Tool, Vault commands with --enc-dir option leads to directory which doesn't contain VAULT.dat should fail.

    XMLWordPrintable

Details

    Description

      Vault commands with --enc-dir option leads to directory which doesn't contain VAULT.dat should fail.

      Converted credential store storage file is empty but it is very confusing to see successful message and created credential storage file.
      The user might mistakenly believe that the VAULT.dat was empty.

      How to reproduce
      set --enc-dir to folder which is empty.

      ./elytron-tool.sh   vault --enc-dir /tmp/empty_dir --keystore server.store --keystore-password secretsecret --location converted001.store --alias jboss
      
      Vault (enc-dir="/tmp";keystore="server.store") converted to credential store "converted001.store"
      

      Attachments

        1. server.store
          0.5 kB
          Hynek Švábek

        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: