1 Answer
- Newest
- Most votes
- Most comments
0
Hi, thanks for the question! In order to use IAM credentials, the SigV4 process is used. Since this is not supported in the MQTT protocol overall, it is accomplished by establishing a connection via MQTT over websocket. The full list of communication protocols can be found here.
You can see this in action here. This is a Python example that uses publish/subscribe. By setting the --use-websocket
and --signing-region
arguments, normal IAM credentials can be used. For example, by setting environment variables.
Let us know if this is helpful!
answered 2 years ago
Relevant content
- asked a year ago
- asked a year ago
- asked 9 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 4 months ago