What does scope = policy mean in the KeyValueMapOperations policy?

In the documentation available here for the Scope element in KeyValueMap operations policy it is not very clear what a value equal to policy would mean.

Does anyone know what the exact behaviour of the policy is when the scope is equal to policy? Can anyone provide an actual use case for which that could be used?

2 2 138
2 REPLIES 2

Great question- seems strange. I am rewarding you some reputation points.

Not applicable

Hi,

I think this is the most restricted scope. The map is only accessible within the scope of the policy itself. So other parts of the proxy can't even see it.

I think the use cases are fairly limited but I guess you might want to store a something at the start of the request flow that could get changed, then retrieve it later?