sivulich / mqttasgi

MQTT ASGI Protocol Server
MIT License
34 stars 15 forks source link

feat: :sparkles: allow TLS certificates for authentication (support AWS IoT) #9

Closed SootyOwl closed 2 years ago

SootyOwl commented 2 years ago

Hi,

In this PR I've added the ability to provide a path to the certificate files that the client will use to authenticate. This allows authentication with AWS IoT Core using certificates only, which is a requirement of mine.

I've tested this as working to authenticate with AWS, without a username or password.

sivulich commented 2 years ago

Hi @SootyOwl,

Thanks for your contribution to the MQTTAsgi project!

This will allow many more use cases for the server. The only thing we are missing is the parameter documentation in the README file.

SootyOwl commented 2 years ago

Hey @sivulich, I've added parameters to the table in the README.

sivulich commented 2 years ago

Many thanks @SootyOwl ! I'll upload a new package with the new features to Pypy soon!