This script automates the process of Prerequisites and the configuring the files aws_iot_demo_profile.h
to connect to AWS IoT.
Make sure you have aws cli
configured on your machine with access_key, secret_key and region.
Open the file configure.json
and fill in the following details:
Options to use with the script
python SetupAWS.py setup
python SetupAWS.py cleanup
python SetupAWS.py prereq
aws_iot_demo_profile.h
with thing name and the certificate keys, type the command python SetupAWS.py update_creds
python SetupAWS.py delete_prereq
aws_iot_demo_profile.h
, type the command: python SetupAWS.py cleanup_creds
python SetupAWS.py list_certificates
python SetupAWS.py list_policies
python SetupAWS.py list_things