Manufacturing Connect User UI
...
Marketplace: Catalogs and Appl...
Application Releases

Set Up a Manufacturing Connect Edge API Token for an Application Release

5min

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.

Before You Begin

Create a Draft Application Release. See Create a Draft Application Release for details.

Step 1: Create an EGDE_API_TOKEN Variable

For an application release, create a variable named EDGE_API_TOKEN. Configure the remaining parameters and options to your preference.

EDGE_API_TOKEN
EDGE_API_TOKEN


Step 2: Complete and Deploy Application Release

See Step 3-Step 5 in Add a Draft Application Release.

Step 3: Verify API Key Token Creation

From Manufacturing Connect edge, you will verify the creation of the MPC-APP token.

  1. Log in to Manufacturing Connect Edge.
  2. From the Navigation panel, navigate to System > Tokens. The NATS Proxy pane appears.
System > Tokens
System > Tokens


Step 4: Verify Passed API Token to Docker Container

From Manufacturing Connect Edge again, you will verify the API Token was also passed to the Docker Container.

  1. Log in to Manufacturing Connect Edge.
  2. From the Navigation panel, select Applications. The Dashboard pane appears.
  3. Click Containers. The Containers pane appears.
  4. From the deployed application release's respective Docker Container, click Inspect.

    Manufacturing Connect Edge: Applications : Containers : Inspect
    Manufacturing Connect Edge: Applications : Containers : Inspect
    
  5. 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.
Manufacturing Connect Edge: Applications : Containers : Inspect : Config: Env
Manufacturing Connect Edge: Applications : Containers : Inspect : Config: Env