Join our Newsletter — 33% off our NHI Course
Home› Guides› macOS Bootstrap Token and Secure Token: FileVault Unlock,…
Guide Endpoint Security

macOS Bootstrap Token and Secure Token: FileVault Unlock, Volume Ownership and MDM Escrow

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 27 November 2026 13 min read
On this page

On a managed Mac, whether a user can unlock FileVault, install a software update or approve a kernel extension depends on cryptographic tokens that most administrators never see until something fails. Secure Token, volume ownership and the Bootstrap Token decide which accounts can unlock the encrypted startup volume and which can authorise sensitive changes, and the MDM service holds escrowed copies of the Bootstrap Token and the FileVault personal recovery key. This guide explains each token, how they relate on Apple silicon and Intel Macs, what the MDM service must escrow, and how to rotate recovery keys and audit token state. It is for Mac administrators and endpoint security engineers running macOS fleets through a device management service. Behaviour changes with macOS releases: this page reflects Apple's documentation as checked in November 2026, including changes in macOS 26 and 26.4.

This is an independent guide from NHI Mgmt Group, based on Apple's public documentation as of November 2026. It is not sponsored or reviewed by Apple. Product features change, so confirm settings against Apple's current documentation.

Key takeaways

  • Secure Token is the key to FileVault. Apple describes it as a wrapped copy of a key encryption key protected by the user's password; only accounts that hold one can unlock FileVault.
  • Volume ownership adds a second gate on Apple silicon. Unlocking FileVault, changing startup security, authorising updates and Erase All Content and Settings need a volume owner, and ownership is backed by the Secure Enclave.
  • The Bootstrap Token lets the MDM service act without a human. Escrowed to the MDM service, it grants Secure Tokens to new accounts and, on Apple silicon, authorises software updates and kernel extensions without prompting.
  • Escrow is a control, not a convenience. The escrowed Bootstrap Token and personal recovery key are high-value secrets: protect the MDM console and its admin accounts accordingly.
  • Use personal recovery keys and rotate them after use. Apple no longer recommends institutional recovery keys, and the MDM RotateFileVaultKey command replaces a personal recovery key once it has been used.

Secure Token explained

On APFS volumes (macOS 10.13 and later), encryption keys are created when a user is created, when the first user's password is set, or at the user's first login. Apple's Platform Security guide describes a Secure Token as a wrapped copy of a key encryption key (KEK) protected by the user's password. An account with a Secure Token can unlock FileVault at the pre-boot login window; an account without one cannot, even if it is an administrator.

  • First user: from macOS 11, setting the initial password for the very first user grants that user a Secure Token. On Apple silicon, the first user to set the Mac up for their own use also becomes the first volume owner.
  • Interactive logins: when a user logs in interactively, macOS tries to grant that account a Secure Token.
  • Preventing a token for a service account: Apple documents appending ;DisabledTags;SecureToken to the account's AuthenticationAuthority attribute before its password is set, so scripted or hidden admin accounts do not become FileVault unlock accounts unless you intend it.
  • Granting manually: sysadminctl can change a user's Secure Token status, but always needs the credentials of an existing Secure Token administrator. Apple advises using it sparingly. Neither sysadminctl nor System Settings will delete the last administrator or the last Secure Token user.
Token or roleGranted byUsed forWhere it lives
Secure TokenFirst user password set; interactive login; an existing Secure Token admin (sysadminctl, System Settings); the Bootstrap TokenUnlocking FileVault; granting Secure Tokens to others (admins); prerequisite for volume ownershipWrapped KEK on the APFS volume, protected by the user's password
Volume ownership (Apple silicon)First Secure Token user; the Bootstrap Token, as it grants Secure TokensUnlocking FileVault on Apple silicon; changing startup security policy (with admin rights); authorising updates and upgrades; Erase All Content and SettingsCryptography protected in the Secure Enclave
Bootstrap TokenGenerated by macOS when a Secure Token user logs in and the MDM service supports it; at enrolment from macOS 26; profiles install -type bootstraptokenGranting Secure Tokens without an admin present; on Apple silicon, authorising software updates, kernel extensions, silent Erase All Content and Settings, and Platform SSO account creationEscrowed to the MDM service; the Mac fetches it with the GetBootstrapToken check-in message
Personal recovery key (PRK)Created when FileVault is turned onUnlocking FileVault in recoveryOS or at the login window when passwords are lostShown to the user or hidden; escrowed to MDM encrypted with a certificate the MDM supplies
Institutional recovery key (IRK)FileVault payload with a certificate or FileVaultMaster keychainLegacy recovery; Apple says use is no longer recommendedOrganisation-held private key

Volume ownership on Apple silicon

Volume ownership applies to Apple silicon Macs. Apple stresses that it is not legal ownership or custody of the Mac: it is the user who first claimed the Mac for their own use, plus additional users who receive ownership. The first Secure Token user and the Bootstrap Token are both volume owners, and the Bootstrap Token passes ownership to accounts as it grants them Secure Tokens.

TaskRequirement on Apple silicon
Unlock FileVault at startupSecure Token and volume owner
Change startup security policy (for example allow third-party kernel extensions)Administrator and volume owner
Authorise a macOS update or upgradeVolume owner (a standard user who is a volume owner can do it), or the Bootstrap Token through MDM
Erase All Content and SettingsVolume owner, or silently by MDM with the Bootstrap Token (macOS 12.0.1 or later)
Approve kernel extensions through MDMBootstrap Token accepted when the Mac reports it is allowed for authentication

Intel Macs: volume ownership is an Apple silicon concept, so on Intel Macs a Secure Token is what unlocks FileVault. Apple documents Bootstrap Token authorisation of software updates and kernel extensions for Apple silicon only; on Intel the Bootstrap Token's documented role is granting Secure Tokens.

Apple's guidance is that ownership should rarely need active management as long as Secure Token decisions are consistent. The practical risk is a Mac where nobody but a departed user is a volume owner, so updates stall and FileVault cannot be unlocked by anyone else. To see owners, run sudo diskutil apfs listUsers / and map GUIDs to accounts with sudo fdesetup list -extended.

Bootstrap Token and MDM escrow

Apple introduced the Bootstrap Token in macOS 10.15 to grant Secure Tokens to mobile accounts and the optional managed administrator account. From macOS 10.15.4, macOS generates it and escrows it to the MDM service at the first login by a Secure Token user, provided the service supports it. From macOS 11, it can grant a Secure Token to any user who logs in, including local accounts. From macOS 26, if the service supports it, macOS creates the Bootstrap Token during enrolment and uses it to give the first created account a Secure Token.

Escrow requirements

  • MDM support: the device management service must implement the SetBootstrapToken and GetBootstrapToken check-in messages. Apple's device management schema lists GetBootstrapToken for macOS from 10.15 on supervised devices.
  • Supervision and enrolment: Apple's Platform Security guide ties the Bootstrap Token to supervised Macs enrolled through Apple Business or Apple School Manager. Automated Device Enrollment is the normal route; see the Apple Business Manager Security guide.
  • Authentication use on Apple silicon: the SecurityInfo response reports BootstrapTokenAllowedForAuthentication. Apple's schema says the device sets it automatically when enrolled through ADE, and a user can set it manually in recoveryOS. Two related flags, BootstrapTokenRequiredForSoftwareUpdate and BootstrapTokenRequiredForKernelExtensionApproval (macOS 11 and later), show whether the Mac will accept the token instead of prompting a user.
  • Manual escrow: sudo profiles install -type bootstraptoken generates and escrows a new token (it needs Secure Token admin credentials); profiles status and profiles validate with -type bootstraptoken report and check escrow.

Protecting the escrowed token

The escrowed Bootstrap Token lets the MDM service grant FileVault unlock rights and authorise updates and erasure without a user present. Anyone who controls the MDM console therefore controls that capability across the fleet. Restrict MDM administrator roles, require phishing-resistant MFA for them, log every token and recovery key retrieval, and plan for MDM compromise using the MDM and UEM compromise playbook. The MDM's own API credentials and the push certificate are non-human identities that need owners and renewal tracking.

FileVault and recovery keys

FileVault uses AES-XTS for full-volume encryption. On Apple silicon and Intel Macs with the T2 chip, internal storage is always encrypted: with FileVault off, the volume encryption key is protected only by the hardware UID in the Secure Enclave; with FileVault on, the key encryption key is protected by the user's password combined with the hardware UID. That is why turning FileVault on is immediate on these Macs, and why Secure Token is the deciding factor for who can unlock.

Enabling FileVault through MDM

  • In Setup Assistant: you can require FileVault during Setup Assistant while the device is in the awaiting configuration state, optionally escrowing the recovery key first. Apple's deployment guide states that from macOS 26.4 FileVault is on by default in Setup Assistant, and management can still escrow the key and stop users turning FileVault off.
  • Deferred enablement: the com.apple.MCX.FileVault2 payload's Defer option enables FileVault at the next login or logout, with Login bypass attempts setting how many times a user can skip (0 forces it at next login, -1 removes the limit).
  • Unattended enablement: from macOS 26.4, the Bootstrap Token can grant a Secure Token to an account created at enrolment and enable FileVault immediately.
  • Preventing disablement: use the com.apple.MCX setting that prevents FileVault being turned off.

Escrow and rotation

  • PRK escrow: the com.apple.security.FDERecoveryKeyEscrow payload names the escrow location shown to users and the certificate used to encrypt the key. The Mac encrypts the PRK in CMS envelope format and returns it in the SecurityInfo response (FDE_PersonalRecoveryKeyCMS).
  • Who can decrypt: because encryption is asymmetric, the MDM may not be able to decrypt the key without the private key. Know where that private key lives and who can use it.
  • Rotation: the RotateFileVaultKey command with KeyType personal creates a new PRK, returned encrypted to a ReplyEncryptionCertificate. Apple's guidance is that the service can rotate PRKs as often as needed, for example after the key has been used to unlock a volume.
  • Institutional keys: Apple's Platform Security guide states that IRKs have no practical value on Apple silicon because they cannot unlock recoveryOS and target disk mode is no longer supported, and that IRK use is no longer recommended. Migrate to PRK escrow.
  • Using the PRK: it can replace the user password in recoveryOS or at the login window with Shift-Option-Return.

For cross-platform policy, see the Disk Encryption Guide: BitLocker and FileVault.

Common deployment scenarios

ScenarioWhat to configureToken outcome
Zero-touch ADE, one user per MacADE with supervision, FileVault required in Setup Assistant, PRK escrowBootstrap Token escrowed (at enrolment on macOS 26); user gets Secure Token and volume ownership; PRK in MDM
Platform SSO with on-demand accountsPlatform SSO profile, Bootstrap Token escrowedBootstrap Token grants Secure Tokens to accounts created at first Platform SSO login (macOS 13 and later). See the macOS Platform SSO and Directory Binding Guide
Hidden managed administrator accountAccount created by MDM; decide whether it should unlock FileVaultAdd ;DisabledTags;SecureToken if it should not; otherwise let the Bootstrap Token grant one
Shared or lab Macs, multiple usersBootstrap Token escrowed; PRK escrow; avoid relying on a single local adminEach logging-in user receives a Secure Token from the Bootstrap Token (macOS 11 and later)
Manually enrolled Mac (not ADE)Check BootstrapTokenAllowedForAuthentication; escrow the token with profilesEscrow possible, but Apple silicon authentication use may need setting in recoveryOS

Troubleshooting and audit

  1. Check escrow: sudo profiles status -type bootstraptoken shows whether the service supports the Bootstrap Token and whether it is escrowed. Fix missing escrow by logging in once as a Secure Token user or running profiles install -type bootstraptoken.
  2. Check who can unlock: sudo fdesetup list -extended lists FileVault-enabled users with GUIDs; sysadminctl -secureTokenStatus <user> reports an individual account.
  3. Check owners on Apple silicon: sudo diskutil apfs listUsers /.
  4. Collect fleet state from MDM: query SecurityInfo for FDE_Enabled, FDE_HasPersonalRecoveryKey, FDE_HasInstitutionalRecoveryKey and the Bootstrap Token flags, and report exceptions.
  5. Test recovery: on a pilot Mac, retrieve the escrowed PRK, unlock at the login window, then confirm the MDM rotates the key afterwards.
  6. Roll back safely: never remove the last Secure Token admin; before re-imaging or migrating MDM, confirm the new service has escrowed a fresh Bootstrap Token and PRK. See the MDM and UEM platform migration playbook.

Metrics

  • Escrow coverage: percentage of managed Macs with an escrowed Bootstrap Token and an escrowed PRK.
  • FileVault coverage: percentage with FDE_Enabled true.
  • Legacy keys: count of Macs still reporting an institutional recovery key.
  • Rotation after use: share of PRK retrievals followed by a successful rotation within 24 hours.
  • Owner gaps: Apple silicon Macs where no active user is a volume owner.

Framework mapping

FrameworkReferenceRelevance
NIST SP 800-53 Rev. 5SC-28, SC-28(1), SC-12, CM-6, IA-5Encryption at rest, key management and escrow, configuration profiles, authenticator (recovery key) management
NIST CSF 2.0PR.DS-01, PR.AA-05Data at rest protected; who may unlock and authorise is defined and reviewed
CIS Controls v8.1Safeguard 3.6Encrypt data on end-user devices
ISO/IEC 27001:2022 Annex AA.8.1, A.8.24User endpoint devices; use of cryptography

Common failure patterns

  • Bootstrap Token never escrowed: Macs enrolled before the MDM supported it, or where no Secure Token user ever logged in, leaving new accounts unable to unlock FileVault.
  • Scripted admin with an unintended Secure Token: a shared management account becomes a FileVault unlock account on every Mac, with one password across the fleet.
  • Recovery keys never rotated: a PRK read out to a user over the phone remains valid indefinitely.
  • Relying on an institutional key: recovery plans built around an IRK that cannot unlock recoveryOS on Apple silicon.
  • MDM migration without re-escrow: the old service held the tokens and keys; the new one has none.

Practitioner checklist

  • Enrol Macs through Automated Device Enrollment with supervision and confirm Bootstrap Token support in your MDM.
  • Report Bootstrap Token escrow status for every Mac and remediate gaps.
  • Require FileVault in Setup Assistant or with limited deferrals, and prevent users turning it off.
  • Escrow personal recovery keys, hide them from users where policy allows, and rotate after every use.
  • Retire institutional recovery keys.
  • Decide which managed admin accounts may hold a Secure Token and enforce it with DisabledTags.
  • Check volume owners on Apple silicon Macs before staff leave or devices are reassigned.
  • Restrict and log MDM access to Bootstrap Tokens and recovery keys, with MFA on admin roles.
  • Re-test token behaviour on each major macOS release before broad rollout.

Standards and references

Related NHI Mgmt Group resources: macOS Security Guide for Enterprises · Disk Encryption Guide: BitLocker and FileVault · macOS Platform SSO and Directory Binding Guide · Apple Declarative Device Management and Managed Device Attestation Guide

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.