Securely Connecting to the Command Topic

The requestTopic is used for receiving requests for commands from the system; the statusTopic is used for returning status from the application to the rest of the ecosystem. The Predix Edge software stack will provide the application with the request topic as defined in the MQTT configuration section, along with the username and passwordFile location. The username and password contained within the passwordFile file must be used when connecting to the broker in order to communicate over the request topic. Inside the container, the passwordFile contains the plaintext version of the password. This file is secured by a docker secret on the host.
Note: The command topic is application-specific and not accessible from other applications.

The application's docker compose file must be of a version equal to, or greater than, 3.1. If the docker compose file is of version 3.0 or earlier, the password file used to securely connect to the broker will not be present in the application.