Best practices for hundreds/thousands of keys/usage plans?

1

I am working with an API Gateway system to give clients access to data. I am currently having each user get their own Usage Plan and API Key: my reasoning for not having one Usage Plan is that I do not want one user to lock out another by making a high burst of requests. I am aware of AWS limits (300 usage plans per region, 500 api keys per region https://docs.aws.amazon.com/apigateway/latest/developerguide/limits.html) which have me concerned about how I will add users when my Usage Plan/API Key limit is reached.

I am aware these limits are able to be raised by contacting Amazon, but is there another way I should be doing this? I don't want to reach a point where I can't add more users and am stuck.

已提問 5 年前檢視次數 1044 次
2 個答案
1

my reasoning for not having one Usage Plan is that I do not want one user to lock out another by making a high burst of requests.

API Keys in the same usage plan do not share usage data and would not affect other keys in the same plan so this would not be a concern.

That being said, we can not currently support 100s of thousand of API keys. This may change in the future, but at this time you would eventually not be able to create new API keys.

Regards,
Bob

專家
已回答 5 年前
0

Thanks

已回答 5 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南