Api Gateway Websocket API with IAM Authorization on $connect route
0
Hi,
As mentioned in the title, I've enabled IAM Authorization on the $connect route of a API Gateway WebSocket API - I did this to protect it.
As I understand, in order to CONNECT (not to postToConnection!) I first need to "sign requests with Signature Version 4 (SigV4)", BUT I could not find an example related to WebSocket Connect - I've searched.
I plan to connect from browser JavaScript (yeah, I know :-D) - where I have temporary credentials -, but also a node.js example would be OK - or python... or whatever other language, or a hint in the right direction.