I understand that we can have call limit on APIM by subscription keys as follows
<rate-limit-by-key calls="3" renewal-period="15" counter-key="@(context.Subscription.Id)" />
I have a use case where I need to monetize one of my existing API for different customers. Based on the plan they choose they will be able to access this API on different limits. Say a premium customer can call my api once in every minute and a customer on my Basic plan can call the api once in 10 minutes.
I am looking for a way to have different rate limits for different API keys. Basically a Map of API key and corresponding rate limit I need to configure. So that same API can be accessible by different different clients, and each of them will be having their own rate limits.