Is access key and secret key pair connection allowed in this SDK? #530
-
Greetings, I'm working on a project with only host, client_id, access key, secret access key (pretty much like what used as a role), root CA file and even a ApplicationId been given, but I don't have any public key or private key, am I still have a chance to connect? since I tried older version (aws-iot-device-sdk-python) but failed on handshaking, and I didn't find any relavant method in this samples. Appreciate for any help |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Websockets using sigv4 signing is supported. A sample can be seen here: https://github.com/aws/aws-iot-device-sdk-python-v2/blob/main/samples/websocket_connect.py |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
Websockets using sigv4 signing is supported.
A sample can be seen here: https://github.com/aws/aws-iot-device-sdk-python-v2/blob/main/samples/websocket_connect.py
The different credentials providers supported by the SDK can be seen here: https://github.com/awslabs/aws-crt-python/blob/main/awscrt/auth.py#L128-L417