Hello guys,
I'm trying to read a key-value map that I already have created, into a variable to be used in a JS policy. I read tons of related post about this issue, but I couldn't get it work so far.
This is what I did:
1 - Create a kVM named authuser with key/value api_user:value; api_key:value
2 - I created a KVM Operation policy to get those keys and values and assign them into a variables:
3 - I tried to get this values from a JS policy
screenshot-from-2018-02-05-15-12-28.png
Problem is, am getting a null value for api user and key.
Solved! Go to Solution.
You have specified the kvm key with a variable reference.
Try
<Parameter>api_user</Parameter>