1 Answer
- Newest
- Most votes
- Most comments
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.
Relevant content
- asked 10 months ago
- asked a year ago
- asked 5 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 5 months ago
Thank you, but with this solution there are still the 10 policies per identity and 2048 characters per policy limits.