Bootstrap token

On this page 7

A bootstrap token is a credential that a managed Mac generates and escrows to its mobile device management (MDM) server, so that the Mac can later perform security-sensitive tasks without asking an administrator to type a password at the machine. In macOS administration, it is mainly used to grant a secure token to new user accounts and, on Apple silicon, to authorize software updates and kernel extensions issued through MDM.

Apple introduced the bootstrap token in macOS Catalina 10.15 and broadened its role in later releases. It belongs to the same group of concepts as the Secure token, Automated Device Enrollment and Platform SSO, and it is a prerequisite for many zero-touch deployment workflows.

How the bootstrap token is created and escrowed

A bootstrap token is created when the first secure-token-enabled user logs in on a Mac that is enrolled in an MDM solution supporting the feature. From macOS 10.15.4 onward, this happens automatically for any such user; the Mac then sends the token to the MDM server, which stores it in escrow and can return it to the Mac on request.

The token is not a password and cannot be used to log in. It is a machine-specific secret that macOS can unwrap locally to unlock key material protected by FileVault and the Secure Enclave. Because the MDM server only stores the token and passes it back to the same Mac, the server never needs to know the passwords of local users.

The following table summarizes the lifecycle of the token on a typical managed Mac.

StageWhat happensRequirement
EnrollmentThe Mac enrolls in MDMAutomated or user-approved enrollment
GenerationmacOS creates the token at loginA user with a secure token
EscrowThe token is sent to the MDM serverMDM support for the feature
RetrievalmacOS requests the token when neededWorking network connection to MDM
RotationA new token replaces the old oneRe-escrow, for example after erasure
Lifecycle of a bootstrap token

What the bootstrap token authorizes

The bootstrap token replaces interactive administrator authentication in several situations where macOS would otherwise demand the credentials of a secure-token or volume-owner account. Its exact powers depend on the macOS version and on whether the Mac uses an Intel processor or Apple silicon.

UsePlatformBenefit
Secure token for new accountsIntel and Apple siliconMobile and Platform SSO users can unlock FileVault
Volume ownershipApple siliconNew accounts can approve system changes
MDM software updatesApple siliconUpdates install without a local admin password
Kernel extension approvalApple siliconApproved extensions load after a restart
Erasure and recovery tasksRecent macOS releasesFewer manual steps at the device
Main uses of the bootstrap token

The secure token role is the most visible. Without a bootstrap token, an account created by a directory service or by Platform SSO at the login window may receive no secure token, which means it cannot enable FileVault, decrypt the startup disk at boot or approve some security prompts. With the token escrowed, macOS grants the secure token silently at that account’s first login.

The bootstrap token is often confused with the Secure token and the FileVault recovery key, but each credential answers a different question. The comparison below clarifies their roles.

CredentialWhere it livesPrimary purpose
Bootstrap tokenMac and MDM escrowAuthorizes administrative actions without a password
Secure tokenA user account attributeAllows that user to unlock FileVault
FileVault recovery keyUser, MDM or Apple AccountUnlocks the disk if passwords are lost
Recovery Lock passwordMDMProtects recoveryOS on Apple silicon
Bootstrap token and neighboring credentials

In short, the secure token belongs to a user, while the bootstrap token belongs to the Mac and its management relationship. A FileVault recovery key restores access to data; the bootstrap token restores administrative authority.

Checking and managing the token from the command line

Administrators verify the token with the profiles command-line tool, which reports whether the MDM server supports the feature and whether a token is currently escrowed. These checks belong in every deployment validation script.

  • sudo profiles status -type bootstraptoken shows server support and escrow status.
  • sudo profiles install -type bootstraptoken generates and escrows a token manually, using secure-token administrator credentials.
  • sudo profiles validate -type bootstraptoken confirms that the escrowed token matches the one on the Mac.

Manual escrow is usually needed on Macs enrolled before the MDM server supported the feature, or on machines where the first user logged in while the network or MDM service was unavailable. Most MDM consoles also display escrow status per device, which makes fleet-wide auditing straightforward.

Common failures and best practices

A missing bootstrap token typically shows up as failed updates or FileVault problems weeks after deployment rather than as an immediate error. The table below maps frequent symptoms to causes and fixes.

SymptomLikely causeFix
New user cannot unlock FileVaultNo token escrowed, so no secure tokenEscrow a token, then sign the user in again
MDM update waits for a passwordToken missing on Apple siliconRun the manual install command
Status shows not escrowedFirst login happened offlineEscrow manually while connected
Escrow fails repeatedlyMDM lacks support or the profile is brokenCheck vendor support and re-enroll
Troubleshooting bootstrap token problems

The most reliable practice is to verify escrow during enrollment as part of the setup workflow, keep at least one secure-token administrator account available, and re-check after reinstalling macOS or using Erase All Content and Settings, because those actions require a fresh token.

Put simply

A bootstrap token is like a spare master key that a company Mac hands to its IT department for safekeeping. The key does not open anyone’s personal account, but it lets the Mac prove that it is allowed to do important maintenance jobs.

When a new employee signs in or a security update needs approval, the Mac asks the IT system for the key instead of waiting for an administrator to walk over and type a password. Work continues without interruption, and the computer stays protected.

In practice

A company with 400 Apple silicon MacBooks ships every laptop directly to new employees through Automated Device Enrollment. Employees sign in with their identity provider accounts through Platform SSO, and the IT team never touches the hardware.

During a pilot, several new hires discovered that their accounts could not unlock FileVault, and scheduled macOS updates stalled waiting for an administrator password. The team ran profiles status -type bootstraptoken on the affected machines and found that the token had never been escrowed, because the first login happened before the network connection was ready.

The IT team added an escrow check to its enrollment workflow and a weekly report in the MDM console. After the change, every laptop escrowed its token on the first day, new accounts received secure tokens automatically and updates installed on schedule.