1 回答
- 最新
- 投票最多
- 评论最多
0
I recommend using AWS IoT custom authorizer to manage more complex and dynamic authorization schemas.
The authorizer lambda function can receive the JWT token, extract the necessary claims and craft an on-demand policy with the required resources whose names depends on the claims.
You can refer to this repo for an example on how to implement a custom authorizer to validate JWT tokens.
相关内容
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前
Thank you, but with this solution there are still the 10 policies per identity and 2048 characters per policy limits.