1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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!
beantwortet vor 2 Jahren
Relevanter Inhalt
- Wie veröffentliche ich MQTT-Nachrichten von meinem Gerät auf AWS IoT Core, wenn ich Python verwende?AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor einem Jahr