read the user configuration from the MQTT Distributor
transform the users to the required Chariot REST API format
add the users to the Chariot MQTT Credentials store
read and output the Chariot MQTT Credentials
Note
You will need to set the chariotUrl variable to the URL for your Chariot installation.
You will need to create a key:value pair dictionary to assign a password to each MQTT Distributor user as user passwords returned via the MQTT Distributor API call will be encrypted.