Secure Token and Bootstrap Token on macOS: Escrow, Status, and Volume Ownership
Audit macOS Secure Token and bootstrap-token state with supported status tools, MDM escrow evidence, and careful volume-ownership recovery.
Secure Token, bootstrap token, and volume ownership are related macOS concepts, but they are not interchangeable labels for administrator status. They describe different pieces of account, cryptographic, management, and Apple silicon startup authorization state. Treating them as synonyms leads to dangerous runbooks: an administrator may have no Secure Token, a managed Mac may have no usable escrowed bootstrap token, and a FileVault-enabled device does not prove that every required account has volume ownership.
Apple documents Secure Token as a wrapped key-encryption key protected by a user’s password on Macs with APFS volumes. A bootstrap token is a management-assisted mechanism that can grant Secure Token to accounts under supported conditions and can support additional management operations. On Apple silicon, volume ownership is an authorization concept for operations such as changing startup security policy and authorizing certain erase or update workflows. None of these should be manipulated casually to make a console indicator turn green.
Establish which state you are checking
Before troubleshooting, identify the Mac’s architecture, macOS version, enrollment type, local users, FileVault state, and the operation that is failing. A local-account problem differs from an MDM escrow problem, and both differ from an Apple silicon startup-security authorization issue. Collect facts from supported system and MDM interfaces rather than scraping private account databases.
Secure Token is associated with a user account and its cryptographic authorization. Bootstrap token state belongs to an MDM-capable deployment relationship between macOS and the management service. Volume ownership applies to eligible Apple silicon systems and startup-security authorization. An organization’s legal ownership of hardware is not what Apple means by volume ownership. Keep inventory fields separate and name their source and last refresh time.
Use read-only status commands to establish a baseline:
sudo profiles status -type bootstraptoken
sysadminctl -secureTokenStatus "$USER_NAME" -
The first command reports whether the management service supports the bootstrap-token feature and the current local token status. The second reports Secure Token status for the named local account. They do not prove that the server has the current token escrowed, that a specific update command can use it, or that a user is a volume owner. Confirm those requirements through the MDM’s supported inventory or command evidence and Apple’s current deployment documentation.
Do not place a real account password in the terminal, a script, or shell history. The status examples above do not need one. If a remedial operation requires administrator credentials, use the documented interactive flow and an approved change window rather than embedding a password in a command line.
Understand how a bootstrap token enters management
Apple’s deployment guide describes a bootstrap token being generated and escrowed when a Secure Token-enabled user first logs in on systems and enrollment configurations that support the feature. For macOS 26 and later, Apple documents creation during device-management enrollment when the management service supports bootstrap token. Exact behavior depends on OS release, enrollment flow, and MDM support, so validate the deployed combination rather than extrapolating from one test device.
The MDM must advertise support and safely receive the token. Once escrowed, macOS can use it in supported workflows without asking an existing Secure Token-enabled administrator to authorize every operation. On Apple silicon, the bootstrap token can grant Secure Token to additional accounts, including supported on-demand account creation flows. Apple also documents bootstrap-token use for certain software update and erase workflows. The availability of those operations is version- and command-dependent; do not treat escrow as a universal authorization bypass.
For fleet readiness, record whether the Mac supports the feature, whether the MDM advertises it, whether local status indicates a token, whether MDM reports successful escrow, and the timestamp of that evidence. An on-device “supported” status is not the same as “escrowed.” A local token that has not reached the server cannot help with an unattended workflow after the device is offline or erased.
Treat Secure Token grant as a user-lifecycle event
Secure Token state is established as accounts are created and used. Apple describes its relationship to APFS encryption key material and notes that creation timing can vary across enrollment, account creation, password setup, and first login. Automated account provisioning therefore needs an explicit test for the target macOS version and MDM enrollment flow.
Do not blindly grant Secure Token to every local account. Determine which accounts need cryptographic authorization, FileVault participation, or a supported management role. Keep least privilege and credential ownership clear. A standard employee account, a managed local administrator, a service account, and a break-glass account can have different needs.
Apple documents sysadminctl as a tool that can change Secure Token status and cautions that it should be used carefully and only when necessary. Enabling Secure Token may require credentials from an existing Secure Token-enabled administrator. Avoid automating those credentials in a fleet script. A change to an account’s token state should be approved, attributable, and tested on a representative device before production use.
Deleting the last administrator or last Secure Token-enabled user can make later administration or recovery substantially harder. System Settings and sysadminctl have protections for some such cases, but a runbook must not depend on a deletion guard as its safety control. Preserve a tested recovery account and verify its status before changing user membership.
Understand volume ownership on Apple silicon
Apple silicon introduces volume ownership as a separate authorization concept. Apple describes the first user who claims a Mac during setup as receiving Secure Token and becoming the first volume owner. When a bootstrap token is available and used, it also becomes a volume owner and can grant volume ownership to additional accounts when granting them Secure Token. Apple advises that organizations generally should not need to actively manage or manipulate volume ownership.
The practical response is to preserve a healthy token and enrollment lifecycle, not to promote accounts manually as a routine fleet operation. If a supported task requires a volume owner, confirm the specific account and authorization path for that OS version. A local administrator flag alone does not imply volume ownership, and a volume owner is not necessarily the organization’s legal owner of the Mac.
Startup security policy controls which macOS versions can boot and how third-party kernel extensions are handled. Before changing startup security, validate physical recovery access, responsible operator authorization, MDM configuration, and the impact on system extensions or other approved software. Do not reduce startup security as a generic response to an unrelated Secure Token error.
Diagnose missing or stale escrow without destructive resets
When MDM reports no bootstrap token, compare device enrollment status, OS release, management-service support, first Secure Token-enabled login, and current on-device status. Check whether the Mac changed MDM tenants, was unenrolled, had its local management state rebuilt, or was erased and re-enrolled. Keep command result timestamps because a stale inventory record can make a healthy device look broken.
If the management service supports a documented bootstrap-token install operation and the device meets Apple’s requirements, an authorized administrator can use it as a controlled remediation. Apple documents that the operation requires existing Secure Token administrator information to generate the initial token and that the MDM must support the feature. Confirm server-side receipt after the command; do not stop at a command that merely exited successfully.
Removing a bootstrap token is a destructive management-state change and should not be used as a speculative reset. Apple documents that the remove operation affects the Mac and management service. Before any removal or replacement, determine whether the MDM has the information and support to generate a new token and whether other workflows depend on the current escrow. Prefer collecting diagnostics and resolving the enrollment or escrow issue first.
For a failed update, erase, or account-creation operation, capture the exact MDM command result, macOS version, architecture, local token status, and escrow evidence. A failure can be due to a command being unsupported, device state, authorization, network reachability, or MDM implementation. Do not infer token corruption from one failed command.
Protect escrow and account data
Bootstrap token material is sensitive management data. Limit server-side access, encrypt it at rest and in transit, audit retrieval, and keep it out of ordinary logs and support bundles. Do not export token files from private locations or copy cryptographic material into a ticket. If a vendor support case needs token diagnostics, provide the supported redacted status output and correlation IDs instead.
Protect Secure Token-enabled administrator credentials under the organization’s privileged-access process. Do not distribute a shared admin password in a configuration profile or a shell script. Prefer MDM-supported enrollment and account creation flows that establish the needed state without exposing reusable credentials. Test break-glass access and rotate credentials according to policy.
When a user leaves or a Mac is reassigned, distinguish identity-provider deactivation, local account removal, FileVault recovery, bootstrap-token escrow, and volume ownership. These actions have different data-loss and authorization impacts. Define an ordered offboarding plan and require asset ownership confirmation before a cryptographic account-state change.
Validate a deployment by lifecycle phase
Test a fresh Automated Device Enrollment Mac, a manually enrolled device if supported, an existing account, a newly provisioned account, an MDM migration, an offline period, a macOS update, and a reassignment or erase workflow. Confirm both device-side status and MDM-side escrow. Ensure a bootstrap token generated on one device is not mistakenly attached to another asset because of duplicate serial or enrollment records.
For each test, record the macOS version, hardware architecture, enrollment channel, account that first logged in, Secure Token status, bootstrap-token support status, MDM escrow result, and command outcomes. Use synthetic accounts and a controlled test fleet. Do not test a production employee’s only administrator account or erase a production device to validate a runbook.
Automate audit checks as read-only reports. Flag devices where MDM requires token escrow but status is missing, stale, or inconsistent; do not automatically change Secure Token or volume ownership to clear the alert. Route discrepancies to an operator who can compare the MDM response, device state, and current Apple documentation.
Operational checklist
Identify the failing operation, collect version and enrollment evidence, distinguish Secure Token from bootstrap-token escrow and volume ownership, and verify state from both the Mac and management service. Use status commands first. Change token state only for a documented requirement with an approved recovery plan. Never put credentials or token material into scripts or tickets.
Secure Token and bootstrap token make managed macOS administration more capable, but they also couple account setup, encryption, and Apple silicon startup authorization. The production goal is a predictable enrollment and escrow lifecycle, not manual token surgery. Preserve clear ownership, verify server-side evidence, and treat any change to cryptographic authorization as a controlled operation.
Related:
- Platform SSO on macOS: Enrollment, Login Policy, and Recovery
- How to Set Up FileVault Full-Disk Encryption on macOS
Sources: