You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allowing rate limiting to be combined together with the API Key policy to allow rate limit tiering by an API Key.
Our goal is to allow rate limiting to be distinguished not only by the header but also by a specific tier for example:
we have 2 api keys:
showcase
prep
When accessing through "showcase" we want to limit by 10r/s but "prep" we can allow 100r/s.
We have managed to accomplish this by using snippets, this allows us to do use this feature but in a quite complicated way which can also break the ingress controller easily.
We would love to see this introduced as a policy/combined policy or even in the rate limit policy as more features.
Allowing rate limiting to be combined together with the API Key policy to allow rate limit tiering by an API Key.
Our goal is to allow rate limiting to be distinguished not only by the header but also by a specific tier for example:
we have 2 api keys:
showcase
prep
When accessing through "showcase" we want to limit by 10r/s but "prep" we can allow 100r/s.
We have managed to accomplish this by using snippets, this allows us to do use this feature but in a quite complicated way which can also break the ingress controller easily.
We would love to see this introduced as a policy/combined policy or even in the rate limit policy as more features.
We have accomplished it as following:
Creating the following secret:
Then attaching it to a policy:
Then attaching the policy to a virtual server and using the following snippets:
Then for location snippets:
The text was updated successfully, but these errors were encountered: