See here for a previous example of how to retrieve the M2EE password: https://forum.mendix.com/link/questions/85804