Yes, it is possible to update ACE (App Connect Enterprise) connection passwords automatically. For automation, the preferred method is to use the REST API. Alternatively, the nsqmigr
utility can be used, although it requires the complete definition.
To automate this process and avoid manually changing each ACE connection's password, it is first necessary to generate an encrypted password. This can be done using command:
java -jar nsqcmace.jar -p password
After this, the curl
command can be used, which may look like this:
curl -X 'PATCH' \
'http://localhost:8019/rest/v1/aceiib/remote-mgrs/AceNode/AceManager' \
-H 'accept: /' \
-H 'Content-Type: application/json' \
-d '{
"wgsName": "MQM",
"nodeName": "AceNode",
"managerName": "AceManager",
"general": {
"username": "user",
"password":"encrypted_password"
}
}
The value encrypted_password
should be replaced with a newly generated password.