1 個回答
- 最新
- 最多得票
- 最多評論
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!
已回答 2 年前
相關內容
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 3 年前