aws_client_auth - bruno-beloff/scs_mfr GitHub Wiki

docs > software repositories > scs_mfr > commands > AWS data infrastructure


This utility is not relevant to systems that use Greengrass. For Greengrass systems, use scs_mfr/aws_identity instead.

DESCRIPTION

The aws_client_auth utility is used to store or read the endpoint host name, client ID and client certificate ID required by the South Coast Science / AWS messaging infrastructure.

The certificate files - created using the AWS IoT tools - must be installed by hand.

Note that the scs_mfr/aws_mqtt_client process must be restarted for changes to take effect.

SYNOPSIS aws_client_auth.py [{ [-e ENDPOINT] [-c CLIENT_ID] [-i CERT_ID] | -d }] [-v]

Options
--version show program's version number and exit
-h, --help show this help message and exit
-e ENDPOINT, --endpoint=ENDPOINT set broker endpoint
-c CLIENT_ID, --client=CLIENT_ID set client ID
-i CERT_ID, --cert=CERT_ID set certificate ID
-d, --delete delete the client authentication
-v, --verbose report narrative to stderr

EXAMPLES

./aws_client_auth.py -e asrfh6e5j5ecz.iot.us-west-2.amazonaws.com -c bruno -i 9f08402232

FILES

~/SCS/aws/aws_client_auth.json

~/SCS/aws/certs/XXX-certificate.pem.crt
~/SCS/aws/certs/XXX-private.pem.key
~/SCS/aws/certs/XXX-public.pem.key
~/SCS/aws/certs/root-CA.crt

DOCUMENT EXAMPLE

{"endpoint": "asrfh6e5j5ecz.iot.us-west-2.amazonaws.com", "client-id": "bruno", "cert-id": "9f08402232"}

SEE ALSO

scs_dev/aws_mqtt_client

scs_mfr/aws_identity
scs_mfr/aws_project