tools: Port, debug, and document createIoTThings.py #82
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The script contains tools used to create, destroy, and manage AWS IoT Things, Policies, Buckets, Roles, and Jobs. It is intended to automate the process of creating an OTA update.
Documentation for the script was also added at
docs/components/aws_iot/aws_tool.md``. This commit links to this documentation in the top-level
README.md`, under a new section called 'Tools'.This commit stores generated credentials for new objects in the
credentials
directory by default, with unique file names per Thing.The user can optionally specify the credentials directory.
It is possible to do any operation except for an OTA image update if
update-signature.txt
is not in the correct directory. A warning is generated ifupdate-signature.txt
is not present.This script updates
/applications/<target_application>/configs/aws_config/aws_clientcredentials.h
once a Thing is created, where<target_application>
is specified on the CLI. If the file has been previously modified, it asks before overwriting.This saves the user modifying the file.
Description
Test Steps
Checklist:
Related Issue
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.