Hi Team,
We have a few sensitive passwords stored as part of Password Vault [vault.keystore], which needs to be changed dynamically. So I am looking for Java APIs to access and modify them programmatically.
In host.xml, configured vault
<vault>
<vault-option name="KEYSTORE_URL" value="xxxxxx\wildfly-24.0.1.Final\standalone\configuration\keystore\vault.keystore"/>
<vault-option name="KEYSTORE_PASSWORD" value="MASK-2ddZHgfHuLf"/>
<vault-option name="KEYSTORE_ALIAS" value="yyyyy"/>
<vault-option name="SALT" value="zzzzzzz"/>
<vault-option name="ITERATION_COUNT" value="X"/>
<vault-option name="ENC_FILE_DIR" value="xxxxxxx\wildfly-24.0.1.Final\standalone\configuration\keystore\"/>
</vault>
And replaced the keystore-password as - ${VAULT::yyyyy::serverKeystorePass::1}
Any help would be appreciated.
Regards
Shwetabh Srijan
RSA Security