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.

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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ