Hi @Apoorva Gupta -
Not knowing exactly what you're running into (null result?), here are some things to check:
- Are you on Private Cloud version 4.17.01 or later? That's when encrypted KVMs were supported in Private Cloud.
- Make sure you have an existing environment KVM called "abc" (you'll be able to see it in the UI under APIs > Environment Configuration > Key Value Maps).
- Make sure the KVM is actually encrypted. In the UI, encrypted KVM values are masked with ****. If you see clear case values, the KVM isn't encrypted, and your "private.abc" variable may not work.
- For
request.header.something
, make sure that the something
header is the exact name of the key whose value you're trying to get. - Make sure the value you're after hasn't expired (been refreshed by the default value). Maybe try doing a PUT with another KVM policy to add the value to the KVM before doing the GET.
- For assignTo="private.abc", I'm not sure if there's an issue with using the same variable name as the KVM name. Probably not, but you could try changing that to "foo" for kicks.
- You can also delete <ExclusiveCache>. That's a deprecated element, but it *shouldn't* have any impact on the policy.