Can policies be defined at a global level and be referenced from within API proxies?

Not applicable

The majority of our APIs have the same security constraints. Is it possible to define policies at a global level and reference them in multiple proxies?

0 2 419
2 REPLIES 2

adas
New Member

Right now, we do not have the concept of global policies in Edge. Which means you can't have policies defined globally and access them in individual proxies. We are actively looking into the possibilities of adding this as a feature in Edge specifically for usecases like you mentioned.

In the meantime, you can have all your common policies defined in a proxy and make a service callout from individual proxies to that proxy, so that all your common policies do get applied to the individual proxies. This mechanism is called proxy chaining. Recently we introduced some optimisations for the proxy chaining feature which improves the performance. I can point you to the proxy chaining article in community, if you are interested in finding out more about it.

Thanks for the response. Yes, if you could point me to the article on proxy chaining that would be great. What is the performance impact of using proxy chaining to have common policies compared to having the policies on each one of the proxies?