Skip to content

Instantly share code, notes, and snippets.

@li2
Created May 14, 2021 11:08
Show Gist options
  • Save li2/23444c1b847f4720dc88d4b903b5fa4a to your computer and use it in GitHub Desktop.
Save li2/23444c1b847f4720dc88d4b903b5fa4a to your computer and use it in GitHub Desktop.
AWS IoT FleetProvisioningSample mvn command
mvn exec:java -Dexec.mainClass="identity.FleetProvisioningSample" \
-Dexec.args="--endpoint {yourEndpoint}.iot.ap-southeast-2.amazonaws.com \
--rootca {yourRootCaPath}.pem \
--cert {yourCertPath}.pem.crt \
--key {yourPrivateKeyPath}.pem.key \
--templateName {yourTemplateName}
--templateParameters {\"serialNumber\":Mac21}" -e -X
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment