Troubleshooting: Merchant key is not read from Vault during installation
The merchantkey value is not being read from Vault by
vaultConfigure.sh.
Problem
In HCL Commerce versions prior to 9.1.9.0, the script vaultConfigure.sh reads values from Vault and applies them to the server. Changes were made to this script in Version 9.1.9.0. This version reads the values but does not apply them. The run engine command to apply the values is no longer called, so the merchantkey value from Vault is not used.
Solution
Add the following command to the start-up scripts:
run update-encrypted-merchantkey ${MERCHANTKEY_ENCRYPT}
Result
The script to update the server values is now run upon container start-up.