amazon-web-servicesaws-api-gatewayserverlessapi-keyrate-limiting

Do different API keys associated on the same usage plan share the same quota limit too?


Do different API keys associated on the same usage plan share the same quota limit too?

Scenario:

When API Key #1 consumes 1 million requests in a month, does this mean requests with API Key #2 will all be throttled?


Solution

  • Usage plan is calculated per API key. From the documentation: "Throttling and quota limits apply to requests for individual API keys that are aggregated across all API stages within a usage plan".

    You can read more about usage plans in the official documentation