My Callout looks like this
{timeoutKey}
Where timeoutKey variable is retrieved from KVM. I have checked that value is being retrieved from KVM properly. But in the javacallout encrypt.utils.key is passed as “{timeoutKey}” not as a value of the variable timeoutKey. How can pass the value of timeoutKey to the callout constructor. My callout constructor looks like this.
public EncryptorCallout(Map<String, String> props){
String key = props.get("encrypt.utils.key");
o1.addProperty("key", key);
if(null != key && key.length() == 16){
ENCRYPTION_KEY = key;
}
}
Can you please help me on this?