I am trying to read some credentials from env variables in custom.properties file but it's not able to recognize code for my properties file given below but it's not working the way I am fetching env variable like this "${varName}"
org.apache.ws.security.crypto.provider=org.apache.wss4j.common.crypto.Merlin
# Type - Valid Keystore Type. Eg - pkcs12 , jks
org.apache.ws.security.crypto.merlin.keystore.type=jks
# Keystore Password
org.apache.ws.security.crypto.merlin.keystore.password=${keystorePassword}
# Keystore Private Password
org.apache.ws.security.crypto.merlin.keystore.private.password=${keystorePassword}
# Keystore Alias
org.apache.ws.security.crypto.merlin.keystore.alias=${keystoreAlias}
# Keystore File Name
org.apache.ws.security.crypto.merlin.keystore.file="something.jks"
can someone please help me out how to get env variables to custom.properties file and