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 官方已更新 3 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前