Set Up a Manufacturing Connect Edge API Token for an Application Release
Note: This setup feature is available for Manufacturing Connect 2.10.0 and later.
When setting up an application release to be deployed to a Manufacturing Connect Edge instance, it is possible to pass an API token for the application release's respective Docker container.
Create a Draft Application Release. See Create a Draft Application Release for details.
For an application release, create a variable named EDGE_API_TOKEN. Configure the remaining parameters and options to your preference.
See Step 3-Step 5 in Add a Draft Application Release.
From Manufacturing Connect edge, you will verify the creation of the MPC-APP token.
- Log in to Manufacturing Connect Edge.
- From the Navigation panel, navigate to System > Tokens. The NATS Proxy pane appears.
From Manufacturing Connect Edge again, you will verify the API Token was also passed to the Docker Container.
- Log in to Manufacturing Connect Edge.
- From the Navigation panel, select Applications. The Dashboard pane appears.
- Click Containers. The Containers pane appears.
From the deployed application release's respective Docker Container, click Inspect.
- Scroll down till you see Config. In the Env section, verify that EDGE_API_TOKEN contains the same value as MPC-APP does in Step 3: Verify API Token Creation.