I need to be able to use a variable for a password when also using encryptKeyFile.
Because I need to change certain variables based on the environment. I'd start like this:
If I hardcode the password, it works; if I use a variable reference, it doesn't.
As far as I know this pull request was submitted to address this issue, but it didn't come with a Jira ticket or a full explanation.
Also, note that I'm not using a variable for the value of encryptKeyFile, because it's not possible in 5.x, though it seems to be fixed in 6.1. Presumably, the above patch would encompass encryptKeyFile's value, as well.