Skip to content
Export guide · Endpoint

How to export your Jamf Pro configuration, and what we check in it

Where you run it: Jamf Pro in the browser, or the Jamf Pro API with curl, jq and xmllint in a bash terminal on a Mac (Jamf notes that jq is included in macOS 15 and later; on an older Mac install it: brew install jq).

In short

Jamf Pro configuration export: the file Jamf Pro writes of its own settings, which a configuration review reads setting by setting without connecting to Jamf Pro.

How to export the Jamf Pro configuration, step by step, what the review checks in the file (30 checks run), and what it does not read.

The fileXML (an Apple property list), one .mobileconfig per configuration profile, starting with <?xml and <!DOCTYPE plist
Checks run on it30
Highest grade its findings reachPROVEN
Feeds attack pathsNo
Not read from this export2 areas, listed below

Sources: Jamf Pro documentation (1); Jamf Pro documentation (2); Jamf Pro documentation (3); the vendor table.

How to export it

Who can pull it
An API client with the privilege Read macOS Configuration Profiles
Time
About 5 minutes for a few profiles in the console; about 15 minutes with the API when the role and client are new.
The file
XML (an Apple property list), one .mobileconfig per configuration profile, starting with <?xml and <!DOCTYPE plist

In the Jamf Pro console

  1. In Jamf Pro: Computers → Configuration Profiles → the profile → Download (one file per profile). If the upload says "This file is binary or encrypted", the profile is signed: on a Mac run /usr/bin/security cms -D -i <profile>.mobileconfig -o <profile>-plain.mobileconfig and upload the -plain file.

    The vendor's page, checked 2026-11-11

Or from the command line

  1. For the API way, create an API role and an API client: in Jamf Pro, Settings → System → API roles and clients → API Roles → New. In the Jamf Pro API role privileges field type macOS Configuration Profiles and select the Read privilege (Jamf lists it as "Read - macOS Configuration Profiles"), add no other privilege, and click Save. Then API Clients → New: add that role, enter an Access Token Lifetime in seconds (a short one, for example 600), and click Save → Edit → Enable API Client → Save. Then click Generate Client Secret → Create Secret: Jamf Pro displays the client secret one time, so copy the client ID and the secret before you close the window

    The vendor's page, checked 2026-11-11
  2. Keep the address and the client ID for this terminal session: export JAMF_URL=https://<you>.jamfcloud.com JAMF_CLIENT_ID=<client-id>Then run read -rs JAMF_CLIENT_SECRETand paste the client secret, then press Enter (nothing is shown, and the secret stays out of the shell history)

    The vendor's page, checked 2026-11-11
  3. TOKEN=$(curl -s -X POST "$JAMF_URL/api/v1/oauth/token" --data-urlencode "grant_type=client_credentials" --data-urlencode "client_id=$JAMF_CLIENT_ID" --data-urlencode "client_secret=$JAMF_CLIENT_SECRET" | jq -r .access_token)

    The vendor's page, checked 2026-11-11
  4. curl -s -H "Authorization: Bearer $TOKEN" -H "Accept: application/xml" "$JAMF_URL/JSSResource/osxconfigurationprofiles"(Classic API: lists each profile’s id and name)

    The vendor's page, checked 2026-11-11
  5. For each id: curl -s -H "Authorization: Bearer $TOKEN" -H "Accept: application/xml" "$JAMF_URL/JSSResource/osxconfigurationprofiles/id/<id>" > profile-<id>.xml(Classic API, XML)

    The vendor's page, checked 2026-11-11
  6. Then save the profile itself with xmllint --xpath "string(//general/payloads)" profile-<id>.xml > profile-<id>.mobileconfigand upload the .mobileconfig

    The vendor's page, checked 2026-10-15
  7. After the upload has gone through, invalidate the token: curl -s -o /dev/null -w "%{http_code}" -X POST -H "Authorization: Bearer $TOKEN" "$JAMF_URL/api/v1/auth/invalidate-token"(204 means it is invalidated). Then in Jamf Pro open the API client and click Disable API Client. Keep this order: Jamf notes that deleting or disabling a client does not disable access for access tokens generated before. To remove the client, Jamf documents the call DELETE /api/v1/api-integrations/{id}, which needs the privilege Delete API Integrations

    The vendor's page, checked 2026-11-11

What the file looks like

XML (an Apple property list), one .mobileconfig per configuration profile, starting with <?xml and <!DOCTYPE plist. It varies with the profile: the file grows with the number of payloads it holds. The upload takes files up to 10 MB.

What it holds: One configuration profile per file, with its payloads.

Run these commands in bash (macOS, Linux or WSL): in Windows PowerShell 5.1, > writes UTF-16, which jq and the upload refuse.

Afterwards

API way: invalidate the token and disable the API client (the last step); to remove the client, Jamf documents the call DELETE /api/v1/api-integrations/{id}. Delete the answer files: rm profile-*.xml. Close the terminal, which still holds the client secret and the token. Both ways: delete the .mobileconfig files from your computer once the upload has gone through.

If the export goes wrong

What you seeThe fix
The upload says "This file is binary or encrypted" for the .mobileconfig (it opens with unreadable characters before <?xml): the profile is signedThe profile is signed. On a Mac, run /usr/bin/security cms -D -i <profile>.mobileconfig -o <profile>-plain.mobileconfig and upload the -plain file.
TOKEN is empty or null, or a curl line answers 401 or 403Check JAMF_URL (your Jamf Pro address, with no / at the end), that the API client is enabled and that its secret was pasted whole: Jamf describes 401 as "Authentication failed". A 403 is "Invalid permissions": the role lacks Read macOS Configuration Profiles (after adding a role to an existing client, Jamf requires rotating the client secret). If the secret was lost, click Rotate Client Secret, which invalidates the old one, then run the read line and the TOKEN line again.
profile-<id>.mobileconfig is empty, or the upload refuses profile-<id>.xmlUpload the .mobileconfig the xmllint step writes, not the .xml answer. If it is empty, the id is wrong: take it from the list step and run the by-id line again.
jq: command not found, or TOKEN is empty although curl printed no errorInstall jq (brew install jq, or jqlang.org/download), open a new terminal, run the export JAMF_URL=… line, the read line and the TOKEN line again; or use the Jamf Pro download way, which needs none of these tools.

What we read from it

Checks run
30 + 7 guidance items, not counted
Formats read
Configuration profile XML/plist
Releases
11.x to current

Checks run is the number of checks that reached a result on this system's own export in our tests, as the vendor table shows it.

The areas checked

  • Configuration profiles: FileVault, Gatekeeper, application firewall, screen lock, Remote Login (SSH), AirDrop, Bluetooth, SIP, update deferral
  • Password policy payloads

The grade its findings reach

Proven A finding from this file can reach PROVEN: the stored file is read a second time by a separate reader, and the finding is found at the setting it names.

Its findings stay in the review and its reports. Jamf Pro does not feed attack paths.

Attack paths, the one change and dollar figures are MODELED. How each grade is worked out is on the method page.

What we do not read from this export

  • Policies and scripts (run frequency, scripts run as root, failures): not in this export
  • The management account and Self Service sign-in: not in this export
  • Payload dictionaries nested several levels deep, in depth
  • JSON exports (for example from the Jamf Pro API): just .mobileconfig profiles are read
  • Profile signing certificates
  • Patch policies and restricted-software settings in depth
  • Smart groups that reference other smart groups
  • Other profiles: one profile per file

Limits of the reader

  • Findings stay in the review. They do not feed attack paths.
  • The checks of this system are not counted: a check counts once a test shows it firing on a file in the layout the vendor documents.

A finding never comes from what the file does not hold: live traffic, running hosts and logs are not in a configuration export.

Questions

Who can export the Jamf Pro configuration?

For the API way, an API client whose role holds one privilege, Read macOS Configuration Profiles: Jamf lists "Read - macOS Configuration Profiles" as the minimum required privilege for both Classic API calls the steps make. For the console download, a Jamf Pro account that can open the profile under Computers → Configuration Profiles: Jamf’s documentation does not name the privilege for the Download button (its Auditor privilege set "Grants all read privileges").

Does the export change anything?

The console download creates nothing in Jamf Pro: it saves a file on your computer. The API way adds one API role, one API client with its client secret, and one access token; the role holds a Read privilege, so no profile is changed. On your Mac the steps write the profile files, and install jq if it was missing.

Does the file hold passwords or keys?

A .mobileconfig holds what its payloads hold. Apple defines payload keys for a Wi-Fi password, a certificate identity (PKCS #12 data and its password), a Simple Certificate Enrollment Protocol (SCEP) challenge and a virtual private network (VPN) shared secret or account password, as strings or Base64 data. Jamf’s documentation does not say whether Jamf Pro masks them, so treat each file as holding live credentials. With redaction on (the default), the passwords, keys and tokens the review recognises are replaced with a placeholder before anything is stored; the check before upload shows how many it found.