I became curious about this question. Here is how I found the M2EE password on my windows machine:
Hope that helps,
Mike
Hi,
When running locally from Studio Pro, you do not manually set or define the M2EE password yourself. Studio Pro automatically generates and injects it into the runtime when the app starts.
That’s why you won’t find it in the UI or in normal configuration screens.
If you want to retrieve it while running locally, you can find it in the runtime environment variables. The easiest way is:
You will find the value under something like:
MXRUNTIME_M2EE_PASSWORD
Alternatively, you can inspect it from the running process environment variables.
Important clarifications:
If you want a simpler way to get runtime information while developing locally, you can also consider using JMX or the Runtime APIs instead of directly calling the admin port.
So in short: you don’t “create” the M2EE password locally — Studio Pro already sets it. You just need to retrieve it from the runtime environment.
Locally in Studio Pro, the M2EE (admin) password is not your MxAdmin app login. It’s a separate runtime “admin handler” secret that Studio Pro generates at run time. You can use any of these supported ways:
http://localhost:<adminPort>/rest/admin/<action> with header X‑M2EE‑Authentication: <Base64(admin_password)>.Open your app’s Settings.yaml and read Runtime → ServerPassword (that value is the M2EE password; Base64‑encode it for the header).
M2EE_ADMIN_PASS (e.g., with Process Explorer on Windows). Community guidance shows retrieving it and using its Base64 in the X‑M2EE‑Authentication header.Content‑Type: application/json + X‑M2EE‑Authentication: <Base64(password)>. This is not the MxAdmin user password.I hope this helps