Update the EMQX deployment configuration for authorization
To update the EMQX deployment configuration for authorization
Navigate to the Amazon IoT SiteWise console
. -
In the left navigation, choose Edge gateways in the Edge section.
-
Choose the gateway to configure.
-
In the Edge gateway configuration section, copy your Greengrass core device value. Save it for later use.
-
Open the Amazon IoT console
. -
On the left navigation, under the Manage section, choose Greengrass devices, then Deployments.
-
Find the core device value you saved earlier and choose that link to open the deployment.
-
Choose the Actions dropdown button, then Revise.
-
Read the message that appears and then choose Revise deployment. The Specify target page appears.
-
Choose Next until you reach the Configure components step.
-
Select the
aws.greengrass.clientdevices.mqtt.EMQX
radio button. -
Choose the Configure component button. A configuration page appears for the component.
-
Under Configuration update, choose Reset to default configuration for component version: 2.*.*.
-
Paste the following content in the Configuration to merge section based on your OS.
-
Choose Confirm.
-
Choose Next until you reach the Review step.
-
Choose Deploy.
Note
From this point onward, you can't edit the ACL file to update the authorization rules. Alternatively, you can proceed to Add authorization rules through the EMQX Dashboard for users after a successful deployment.