0 Replies Latest reply on Dec 24, 2014 10:41 AM by mrrothstein

    Interactive vault keystore password

    mrrothstein

      I can't figure out how to configure the vault to ask for a password at boot.

       

      I'm trying:

      ...

      <vault-option name="KEYSTORE_PASSWORD" value="{EXT}read -s password; echo $password"/>

      ...

       

      It appears to actually run the "read" command, but <ENTER> doesn't appear to send what I'm typing back to the script.

       

      I found this example:

       

      https://github.com/wildfly/quickstart/tree/master/security-vault-askpass

       

      But I can't find the askpass.sh being referenced in the readme... I'm also not sure if the example is doing exactly what I'm looking for.

       

      Ultimately I'm looking for a way to not store the keystore password at all. I would like to be forced to enter the password at the promt when the host controller is started. Is this possible? Is it documented somewhere?

       

      Thanks