aws_identity - bruno-beloff/scs_mfr GitHub Wiki
docs > software repositories > scs_mfr > commands > AWS data infrastructure
As root, run as aws_identity. The Greengrass service should NOT be running.
DESCRIPTION
The aws_identity script allows the user to change the identity of an already configured greengrass install, in our use case it is to change the greengrass identity of a device which was setup using a cloned base image without having to reinstall the greengrass software
The script could also be used to setup a "blank" greengrass install, which does not already have an identity, but does already have the greengrass software.
- If no group name is provided, the host name will be read from the device to generate it.
- If no core name is provided, the host name will be read from the device to generate it.
- If the set flag is not provided, the current identity will be read from the persistent file.
SYNOPSIS
aws_identity.py [-s] [-g GROUP_NAME] [-c CORE_NAME] [-v]
Options | |
---|---|
--version | show program's version number and exit |
-h, --help | show this help message and exit |
-s, --set | sets the selected groups current configuration |
-c CORE_NAME, --CORE_NAME=name | set the name for the core to create |
-g GROUP_NAME, --GROUP_NAME=name | set the name for the group to create |
-v, --verbose | report narrative to stderr |
EXAMPLES
./aws_setup_script.py -s -g scs-test-003-group -c scs-test-003-core -v
DOCUMENT EXAMPLE
{"core-name": "scs-test-003-core", "group-name": "scs-test-003-group"}
FILES
~/SCS/aws/greengrass_identity.json
NOTES
ATS_ROOT_CA_RSA_2048_REMOTE_LOCATION in core.aws.greengrass aws_greengrass_identity is a certificate provided by amazon itself and may be subject to change e.g. via obsolescence - this file is downloaded onto the device every time the script is run. Check here for updates if the file ever becomes unavailable
SEE ALSO
scs_mfr/aws_client_auth
scs_mfr/aws_deployment
scs_mfr/aws_group_setup