简体   繁体   English

API 网关速率限制与 JWT 令牌

[英]API Gateway Rate Limiting with JWT Token

Can I create token base rate limiting for my API Gateway so that different users have different limits?我可以为我的 API 网关创建令牌基本速率限制,以便不同的用户有不同的限制吗?

AWS cognito is used to issue the tokens. AWS cognito 用于发行令牌。

You are mostly speaking about limiting access to your API based on different users.您主要是在谈论根据不同的用户限制对您的 API 的访问。 You can use "usage plans" in API Gateway to limit users accessing APIs by providing different API keys associated with different usage plans.您可以使用 API 网关中的“使用计划”,通过提供与不同使用计划关联的不同 API 密钥来限制用户访问 API。 Read more here: API Gateway Usage Plans在此处阅读更多信息: API 网关使用计划

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用 golang 服务器对第三方 API 进行速率限制 - Rate limiting for a third party API with a golang server 如何通过 google-auth-library 生成 JWT 令牌以将其用于 api 网关? - How do I generate JWT token via google-auth-library to use it for api gateway? Azure Api 管理:有什么办法在消费层实现限速? - Azure Api Management: Any way to implement rate limiting in the consumption tier? 哨兵速率限制 - Sentry Rate Limiting 访问 API 网关时缺少身份验证令牌? - Missing Authentication Token while accessing API Gateway? AWS api 网关在响应正文中返回令牌 - AWS api gateway returning token in the response body 有没有办法使用 aws api 网关为公共 api 添加令牌? - Is there a way to add token for public api using aws api gateway? Terraform 无服务器应用程序与 AWS Lambda 和 API 网关未知令牌? - Terraform Serverless Applications with AWS Lambda and API Gateway unknown token? Api Gateway Cognito 授权方:客户端令牌适用于 AWS ui 但不适用于 Postman - Api Gateway Cognito Authorizer: client token works on AWS ui but not on Postman aws api 网关返回无法将负载解析为 json 无法识别的令牌 - aws api gateway return Could not parse payload into json Unrecognized token
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM