This repository contains a single Javascript file that will connect to AWS IoT core using the MQTTS open protocol using certificates.
- npm (v9.8.1+)
- Node.js (v18.17.0+)
- AWS Account
- Create an AWS IoT Core instance
- Retrieve certificates for connection and put them into this folder
- Inside
index.js
replace line 5 to 8 with your own values - Run
node index.js
to start publishing sample data!