1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
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.
Conteúdo relevante
- AWS OFICIALAtualizada há um ano
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há um ano
- AWS OFICIALAtualizada há 3 anos
Thank you, but with this solution there are still the 10 policies per identity and 2048 characters per policy limits.