Current user map entries can be listed with
GET 'https://127.0.0.1:8096/api/v2/connector/configuration/module/userMap'
The output will obfuscate passwords and look like the following:
{
"payloadType": "TungstenPropertiesPayload",
"payloadVersion": "1",
"payload": {
"app_user": "% europe null",
"other_user": "% europe null"
}
}
In order to create a user in memory, the password and data service name will have to be passed as a url parameter:
POST 'https://127.0.0.1:8096/api/v2/connector/configuration/module/userMap/app_user?value=secret europe'
Note that after this call, the user map only exists in memory. Persistent storage to disk will need to be done as follows:
POST 'https://127.0.0.1:8096/api/v2/connector/configuration/module/userMap/writeToDisk'