The Apple FileVault Policy turns on FileVault, Apple's full-disk encryption, on your Macs, and stores each Mac's personal recovery key (PRK) in Swif. If a user forgets their password, or a Mac needs recovery, an admin can find the key in Swif.
Goal | How the policy helps |
Encrypt every Mac | Turns on FileVault when the Mac checks in |
Keep recovery keys | Stores each Mac's recovery key in Swif, where only authorized admins can see it, and lets you rotate it |
Keep FileVault on | Can stop users from turning FileVault off, or from putting off turning it on |
Compliance evidence | Reports each Mac's encryption status to the Compliance Center, and to compliance integrations such as Drata |
Requirements: macOS 10.13 or later.
Create the policy
In Swif, go to Device Management > Policies, then select Create new policy > Configure a Policy.
Select Apple FileVault Policy.
Fill in the settings, then continue to assign the policy.
Setting | Options | What it does |
Encryption Enable | On, Off, or not set | Turns FileVault on. Turn it on for almost every deployment. |
Recovery Key Escrow | On, Off, or not set | Stores the recovery key in Swif. Keep this on. It's also needed to replace keys from a previous MDM. See Moving Macs from another MDM. |
Maximum number of times FileVault can be skipped |
| How many times users can choose to turn FileVault on later, at sign-in. |
Prevent Disabling FileVault | On or Off | Hides the option to turn FileVault off, in System Settings > Privacy & Security |
Prevent Enabling FileVault | On or Off | Keeps FileVault off. Rarely used, for special-purpose Macs only. |
Show Recovery Key | On or Off | Shows the recovery key to the user, after FileVault turns on |
Settings that aren't set leave the Mac's own setting as it is.
How FileVault turns on
Step | What happens on the Mac |
The policy installs | Swif tells the Mac to turn on FileVault |
The user signs in | macOS asks the user to turn on FileVault. If skipping is allowed, the user can choose to do it later, up to Maximum number of times FileVault can be skipped. |
Encryption starts | The Mac restarts, and encrypts its disk in the background. Apple silicon and T2 Macs encrypt in hardware, with no noticeable slowdown. |
The key is stored | The Mac sends its recovery key to Swif |
Status updates | The Mac shows as Encrypted in Swif, and in the Compliance Center. If you've connected Drata, Swif sends the status to it every 4 hours. |
Where to find a Mac's recovery key
Open the Mac in Swif, and go to Security > Encryption > Recovery key.
You see | Meaning |
••••••• | Swif has the key. Click the eye icon to show it, if you have permission. |
— | Swif doesn't have a key for this Mac. See When Swif doesn't have a key. |
The console updates a Mac's recovery key about every 8 hours. To update it right away, click Refresh.
For why the key matters, see Why is the FileVault recovery key important?
When Swif doesn't have a key
If FileVault was turned on before Swif managed the Mac, by the user or by another MDM, Swif can't read the existing key. macOS doesn't share it.
So Swif replaces the key. It creates a new recovery key, and macOS sends it to Swif. The old key stops working.
What the user sees
The Swif desktop app shows FileVault Recovery Key Required. The user enters their Mac password, and the new key is created and stored in Swif. No restart or sign-out is needed.
Requirement | Details |
A Secure Token | The user's account needs a Secure Token. Accounts that turned on FileVault, or were created with an administrator's password, usually have one. |
Standard users | Need an administrator's name and password to complete the prompt |
If the user ignores the prompt, Swif asks again after 1 to 2 days.
Another prompt: Secure Token Required
Until Swif's own administrator account on the Mac has a Secure Token, the Swif desktop app also shows Secure Token Required, asking for an administrator's password, about every 10 minutes. An administrator enters their password once to stop it.
Moving Macs from another MDM, such as Jamf
Recovery keys stored in Jamf or another MDM can't be imported into Swif. Instead, Swif replaces each Mac's key after it moves:
Assign the Apple FileVault Policy, with Recovery Key Escrow on, to the migrated Macs.
The policy installs. Swif can't read the Mac's current key, so it creates a new one.
The user completes one prompt, FileVault Recovery Key Required, in the Swif desktop app. See What the user sees. No restart or sign-out is needed.
The new key is stored in Swif as soon as the user completes the prompt. It replaces the key in your previous MDM, which stops working.
It appears in the console within about 8 hours, or right away if you click Refresh in the Mac's Security > Encryption section.
This works even if Swif's administrator account on the Mac is turned off.
Test on one Mac first. Migrate one Mac, complete the prompt, and check that the new key appears in Swif. Then migrate the rest. Keep the keys from your previous MDM until each Mac's new key is in Swif.
For moving Macs without erasing them, see Migrate Apple Devices to Swif Without Erasing Them.
Best practices
Keep Recovery Key Escrow on. Without it, you can't recover a Mac, or replace keys from a previous MDM.
Allow no skips for high-risk groups, such as finance or executives, by setting Maximum number of times FileVault can be skipped to
0.Turn on Prevent Disabling FileVault, so users can't turn it off.
Use strong passwords. FileVault unlocks with the user's Mac password, so pair this policy with the Apple Password Policy.
Check the Compliance Center for Macs that aren't encrypted. If you use Drata, encryption status syncs to it every 4 hours. See Set up Swif integration with Drata.
FAQ
Does FileVault slow Macs down?
Not noticeably on Apple silicon or T2 Macs, which encrypt in hardware.
What if a Mac was already encrypted?
Swif can't read a key created before it managed the Mac. It replaces the key, after the user completes the FileVault Recovery Key Required prompt. See When Swif doesn't have a key.
Can I import recovery keys from Jamf or another MDM?
No. Swif replaces each Mac's key instead. See Moving Macs from another MDM.
Does the user need to restart?
No. Replacing a key needs one prompt, with no restart or sign-out. Turning on FileVault for the first time does need a restart.
Troubleshooting
The recovery key shows "—"
Swif doesn't have a key yet. Check whether the user has completed the FileVault Recovery Key Required prompt. Once they have, click Refresh in the Mac's Security > Encryption section.
The user can't complete the prompt
Standard user: they need an administrator's name and password.
No Secure Token: the user's account needs one. An administrator with a Secure Token can grant it.
The Mac keeps asking for an administrator's password
That's the Secure Token Required prompt. It appears about every 10 minutes until Swif's administrator account has a Secure Token. An administrator enters their password once to stop it.
The Mac doesn't ask to turn on FileVault
FileVault is on, but Swif shows "Unencrypted"
Related resources

