A secure token is a cryptographic attribute of a macOS user account that links the account password to the key encryption key of an APFS volume, so that the user can unlock FileVault, enable or disable encryption and grant tokens to other accounts. In macOS administration, it is one of the least visible but most consequential account properties, because an account without a secure token cannot unlock an encrypted startup disk, even when it is a full administrator.
Apple introduced secure tokens with APFS in macOS High Sierra. On Macs with Apple silicon, token holders are also volume owners, which gives the attribute a role in software updates and startup security policy as well.
How a secure token protects the APFS volume
A secure token works by wrapping the volume encryption key with a key derived from the user’s password. APFS encrypts data with a volume encryption key, which is itself protected by a key encryption key. Each token holder receives a wrapped copy of that key, stored with the volume’s crypto users, so any one of them can unlock it at startup.
Because the wrapping depends on the password, only an existing token holder can authorize a new one: the system needs one valid unwrapped key to create another wrapped copy. This is why a token cannot simply be assigned by a script running as root. Changing a token holder’s password rewraps the key automatically, while a password reset that bypasses the old password can leave the token out of sync.
The table below lists the components involved and what each one does.
| Component | Role | Where it lives |
|---|---|---|
| Volume encryption key | Encrypts the data on the volume | Protected by the Secure Enclave or T2 chip |
| Key encryption key | Protects the volume encryption key | Wrapped per authorized user |
| Secure token | Password-wrapped copy of the key | APFS crypto user list |
| Recovery key | Alternative unlock path | User record or MDM escrow |
Which accounts receive a secure token
Whether an account receives a token depends mainly on how and by whom it was created. The first account created in Setup Assistant receives a token automatically, and accounts that a token-holding administrator creates in Users & Groups usually receive one too. Accounts created silently by scripts, by directory services or by MDM often do not.
| Creation path | Token by default | Notes |
|---|---|---|
| Setup Assistant first user | Yes | Becomes the initial token holder |
| Users & Groups by a token holder | Yes | Admin authentication supplies the key |
| sysadminctl without token credentials | Usually no | Needs a token holder to authorize |
| Mobile account at first login | Only with a bootstrap token | MDM must hold the escrowed token |
| Hidden admin from MDM enrollment | Often no | Depends on macOS version and workflow |
Since macOS Catalina, the bootstrap token has changed this picture. When it is escrowed to an MDM server, macOS can use it to grant a secure token to network and mobile accounts at their first login, removing the most common reason for token-less users in managed fleets.
Secure token compared with related macOS controls
A secure token is not the same as admin rights, a bootstrap token or FileVault itself. Confusing these concepts is the root of many enrollment and encryption problems, so the comparison below separates their purposes.
| Concept | What it grants | Held by |
|---|---|---|
| Secure token | Unlocking and managing encrypted APFS volumes | Individual user accounts |
| Administrator rights | System configuration and software installation | Members of the admin group |
| Volume owner | Updates and startup security changes on Apple silicon | Token-holding users |
| Bootstrap token | Granting tokens and authorizing updates for MDM | MDM server via escrow |
| FileVault | Full-disk encryption of the startup volume | The volume itself |
On Apple silicon, the overlap with volume ownership matters: installing certain software updates, approving a kernel extension under Reduced Security and erasing the Mac all require a volume owner or the bootstrap token. An administrator without a token is therefore blocked from these operations.
Checking and granting tokens from the command line
Administrators manage tokens mainly with sysadminctl, fdesetup and diskutil. Reading token status is safe and requires no credentials beyond administrator access, while granting a token always requires the password of an existing token holder.
| Task | Command | Result |
|---|---|---|
| Check one user | sysadminctl -secureTokenStatus username | Reports ENABLED or DISABLED |
| List FileVault users | fdesetup list | Users able to decrypt the disk |
| List crypto users | diskutil apfs listCryptoUsers / | All key holders on the volume |
| Grant a token | sysadminctl -secureTokenOn | Needs a token holder’s credentials |
| Check bootstrap escrow | profiles status -type bootstraptoken | Shows support and escrow state |
Scripts that pass passwords on the command line expose them in process listings and shell history, so interactive authentication or MDM-driven granting is the safer practice in production.
Common pitfalls in managed fleets
Most token problems appear when automation creates accounts before a human token holder exists, or when the last token holder is removed. The consequences range from an inability to enable FileVault to a Mac that cannot install updates without an erase.
- Deleting the only token holder leaves no account able to grant new tokens; recovery may require the bootstrap token or an erase.
- Resetting a password from Recovery without the old password can desynchronize the token from the login password.
- Assuming admin equals token leads to failed FileVault enablement and blocked updates on Apple silicon.
- Skipping bootstrap token escrow during Automated Device Enrollment removes the safety net for later token grants.
- Granting tokens to service accounts widens the set of credentials that can decrypt the disk.
Stripped to the essentials
A secure token is a personal key to the encrypted disk. When a Mac encrypts its drive, it locks the data with a master key, and every user with a secure token holds their own copy of that key, protected by their password.
Only someone who already has a copy can make a new one for another user. Being an administrator is not enough: an admin without a token cannot open the encrypted disk or approve some system changes.
Where it is applied
A school district deploys 600 MacBook Air laptops through Automated Device Enrollment. Its MDM creates a hidden local admin account for IT support, and teachers sign in later with network accounts tied to the district directory.
During the pilot, technicians find that FileVault fails to enable for several teachers. Running sysadminctl -secureTokenStatus shows that the teacher accounts have no token, because no token holder existed when they first logged in. The team changes the workflow so that the bootstrap token is escrowed to the MDM server during enrollment, which lets macOS grant tokens to directory accounts at first login.
After the change, every teacher becomes a token holder automatically, FileVault turns on without manual steps and recovery keys are escrowed to the MDM, so IT can still unlock a laptop if a password is forgotten.