You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43defa566c
* Update History.txt and README.md for December release (#744) * Update History.txt and README.md for release * Bump mbedtls submodule to v2.28.0 (#745) * Patch project files for mbedtls (#751) * Apply group 1 patches * Apply patches for group 2 * Update project files for mbedTLS new version Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com> * Fix warnings in projects Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com> * Fix warnings in HTTP_S3_Download demo Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com> Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com> * Update changelog and history for corePKCS11 update (#752) * Update submodule pointer and manifest.yml for corePKCS11 (#754) * Update readme and history.txt to show that Sigv4 is a newly added library (#756) * Revert update to v143 of VS toolset (#757) * [AUTO][RELEASE]: Bump file header version to "202112.00" * Update file headers to satisfy core checks Co-authored-by: Muneeb Ahmed <54290492+muneebahmed10@users.noreply.github.com> Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com> Co-authored-by: johnrhen <johnrhen@users.noreply.github.com> |
3 years ago | |
---|---|---|
.. | ||
.gitignore | 4 years ago | |
README.md | 4 years ago | |
SetupAWS.py | 4 years ago | |
certs.py | 4 years ago | |
configure.json | 4 years ago | |
demo_config.templ | 3 years ago | |
demo_config_empty.templ | 3 years ago | |
misc.py | 4 years ago | |
policy.py | 4 years ago | |
policy_document.templ | 4 years ago | |
thing.py | 4 years ago |
README.md
Script to setup the AWS resources through command line
This script automates the process of Prerequisites and the configuring the files demo_config.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:
- FreeRTOS_source_dir : The path of the FreeRTOS directory. By default, this is set to the top level of this repo (../..).
- thing_name : Name of the thing you want to create
Options to use with the script
- To setup your Thing, and update credentials file, type the command:
python SetupAWS.py setup
- To cleanup the Thing you created with the script, and revert changes in credentials file, type the command:
python SetupAWS.py cleanup
- To only create thing, certificate and policy, type the command:
python SetupAWS.py prereq
- To update the files
demo_config.h
with thing name and the certificate keys, type the commandpython SetupAWS.py update_creds
- To delete the thing, certificate and policy created by the script, type the command:
python SetupAWS.py delete_prereq
- To revert the changes in the file
demo_config.h
, type the command:python SetupAWS.py cleanup_creds
- To list your certificates, type the command:
python SetupAWS.py list_certificates
- To list your policies, type the command:
python SetupAWS.py list_policies
- To list your things, type the command:
python SetupAWS.py list_things