Custom endpoint without credentials
I get the WebSocket url from AWS API. How do I connect to the web socket using that socket without using credentialsProvider? Is there a way?
My url is like
let url = protocol + '://' + host + uri + '?' + canonicalQuerystring1
Service: AWS-IoT
Is the URL already pre-signed for accessing your endpoint?
It is pre signed.
I believe there isn't a direct way to use a presigned URL for the MQTT client. I am taking this as a feature request to the team.
Could you use any other 3rd party MQTT client since you have a pre-signed URL?
Thanks, Rohan
@rohandubal Yes. I am using MQTT-Client-Framework
https://github.com/novastone-media/MQTT-Client-Framework
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@mendirattanishant Sorry for the delayed response.
-
Custom Auth: Have you considered using Custom Auth where you can setup a lambda function which validates the token and its signature and authenticates the connection? See IoT Custom Authentication for further details.
-
Regarding your request, we have a backlog item to provide a) API to generate the presigned URL b) API to connect using a presignedURL.
Let me know if this helps.
Closing due to no activity.