Research: how MDMs store and expose LAPS passwords¶
Dec 2, 2026. Web research. Nothing here has been tested against a live tenant. Confidence: documented (vendor docs), reported (community or third-party), unknown.
The short version¶
- Every MDM below keeps the password in the vendor's own vault, and those with a documented API return it as plaintext over TLS (Iru's and Hexnode's API behaviour is unconfirmed). There's no client-side decryption like Windows LAPS in AD. For LAPSLens that's the easy case: authenticate, look up the device, read a JSON field, then use the Plaintext decoder.
- What differs is authentication, how the device is looked up (serial number or name, then an internal ID), the JSON path to the password, who may read it (role permissions), and side effects: several vendors schedule a rotation once the password is viewed, so LAPSLens should say so before revealing.
- Most built-in macOS LAPS only covers the admin account the MDM created during Automated Device Enrollment (ADE). Admin accounts created any other way aren't covered.
- This makes the planned Custom REST source (configured by profile) plus tested presets the right design. Presets can become built-in sources later if the API is stable and widely used.
By vendor¶
| MDM | Built-in macOS LAPS | API to read the password | Auth | Notes / side effects | Confidence |
|---|---|---|---|---|---|
| Jamf Pro | Yes (ADE managed admin and the MDM management account), since 10.45 | GET /api/v2/local-admin-password/{clientManagementId}/account/{username}/password; history at …/history |
OAuth client credentials or user bearer token | Audit history of who viewed and when; auto-rotate after view is configurable | Documented (Jamf API) |
| Microsoft Intune (macOS) | Yes, ADE only (GA July 2025, service release 2507) | Beta Graph: retrieveDeviceLocalAdminAccountDetail reportedly returns only rotation metadata. A different beta call, retrieveMacOSManagedDeviceLocalAdminAccountDetail, is reported to return the password. v1.0 deviceLocalCredentials (Windows) returns nothing for Macs |
Delegated OAuth; DeviceManagementManagedDevices.PrivilegedOperations.All (reported) |
Unsettled; needs a test tenant. Beta APIs can change | Reported (MS Q&A, setup docs) |
| Microsoft Intune / Entra (Windows) | Windows LAPS backed up to Entra | Graph v1.0 deviceLocalCredentials/{id}?$select=credentials (passwordBase64) |
Delegated OAuth | Already planned as the Entra source | Documented |
| Omnissa Workspace ONE | "Admin password auto-rotation" for the ADE admin account with Unique Random Password | GET /api/mdm/devices/{DeviceUUID}/security/managed-admin-information; rotate: POST /api/mdm/devices/{DeviceID}/commands?command=RotateDEPAdminPassword |
WS1 UEM REST (OAuth client or basic, plus aw-tenant-code) |
Viewing it (console or API) queues a rotation about 8 hours later | Documented (Omnissa docs) |
| SimpleMDM | "Auto Admin": ADE-created admin, optional "store password in SimpleMDM" | Returned with device details only when the API key has the secrets permission and the request sets show_secrets (Oct 2026 change); POST /api/v1/devices/{id}/rotate_admin_password, …/set_admin_password |
API key (basic auth) | Retrieval needs both ADE options enabled; new keys default to no secrets | Documented (API, admin passwords, release notes) |
| Fleet | Managed local account created at setup | GET /api/v1/fleet/hosts/{id}/managed_account_password (macOS: only while status is "Verified"); POST …/managed_account_password/rotate |
API token | Open issue: endpoint not grantable to API-only users | Documented (REST API, guide, issue #60444) |
| Addigy | "Managed Admin (LAPS)" via OS Users; not for AD-bound Macs | API v2 (unofficial client): GET /o/{org}/devices/{agent_id}/managed-users/{account}/password; list: …/managed-users; rotate: PATCH …/managed-users |
Bearer token, base https://api.addigy.com/api/v2/ |
Rotation breaks the Secure Token until the admin logs in at the login window | Feature documented (Addigy); API paths reported (addigy-cli, migration guide) |
| Iru (formerly Kandji) | macOS LAPS Library Item (Sept 2026), Iru tenants only | Unknown. The device-secrets API (/api/v1/devices/{id}/secrets/{bypasscode,filevaultkey,recoverypassword,unlockpin}) and Iru's own device_secrets.py don't include LAPS yet |
API token | Role permission "View Local Admin Password (LAPS)" (Help Desk and up); optional auto-rotate after viewing | Feature documented (announcement, roles); API unknown (kandji-inc/support) |
| Mosyle (Business / Manager) | Not found in public docs | Unknown. API reference is only inside the admin console; API is Premium-only, POST + JSON with JWT | Access token + admin credentials (JWT since Feb 2024) | Ask Mosyle or a customer | Unknown (ClearPass guide, apis.io) |
| Hexnode | Basic (new managed admin) and Advanced (existing admin) LAPS, April 2026 | None found. Console only (Device Details → Local Accounts → LAPS) | — | Configurable rotation after viewing; RBAC-gated | Feature documented (Hexnode help); API unknown |
| JumpCloud | No native macOS LAPS found (PAM rotation is Windows/Linux) | — | — | Customers run macOSLAPS via JumpCloud commands | Reported (community, PAM) |
Script-based LAPS (macOSLAPS, LAPSforMac and others) writes to whatever the org uses (AD attribute, MDM extension attribute or custom attribute, Key Vault). Those are covered by the existing sources (AD, Jamf extension attributes, Intune custom attributes) and by Custom REST.
What this means for LAPSLens¶
- Custom REST source (Phase 2), sized by these APIs:
- Auth types: bearer/API key, basic (SimpleMDM), OAuth client credentials (Jamf, WS1), extra static headers (WS1
aw-tenant-code). - Two-step lookup: search by serial number or name → internal ID → password URL. Every vendor above needs it.
- Query parameters (
show_secrets=true) and POST bodies (Mosyle-style APIs). - JSON path to the password, plus optional paths for account name, set date, rotation date and "rotates after viewing".
- "Rotate now" as an optional second call (WS1, SimpleMDM, Fleet, Addigy, Jamf).
- Side-effect warnings: a preset can declare
rotatesAfterView(WS1 about 8 h, Iru and Hexnode configurable, Jamf configurable). LAPSLens then shows "Revealing this schedules a password rotation" and only calls the API when the tech clicks Reveal, never in the background. - Least privilege: each preset documents its minimum role (Jamf "View Local Admin Password", Iru "View Local Admin Password (LAPS)", SimpleMDM secrets permission, Fleet's API-user limitation). This gets folded into
docs/PERMISSIONS.md. - Intune macOS: keep it out of the Entra source until a test tenant settles which beta call (if any) returns the password.
- Preset order (by how documented each API is): Workspace ONE, SimpleMDM, Fleet, then Addigy (once official docs confirm), then Iru and Mosyle when their APIs are known. Hexnode and JumpCloud have none to target.
Open questions (need a tenant or the vendor)¶
- Iru: is LAPS (or will it be) a device secret (
/secrets/laps?) or a separate endpoint? - Mosyle: does any LAPS-like feature or API exist?
- Intune macOS: which beta Graph call returns the password, and with which permission?
- Addigy: confirm the v2 paths and the required permission in the official reference.
- Hexnode: is a public API planned?