FDEFileVault
The payload that configures FileVault.
Declaration
object FDEFileVaultProperties
| Name | Type | Description |
|---|---|---|
Certificate | data | The DER-encoded certificate data if the system creates an institutional recovery key. This key isn’t supported on a Mac with Apple silicon. |
Defer | boolean | If |
DeferDontAskAtUserLogout | boolean | If |
DeferForceAtUserLoginMaxBypassAttempts | integer | The maximum number of times users can bypass enabling FileVault before the system requires the user to enable it to log in. If the value is |
Enable Required | string | Set to |
ForceEnableInSetupAssistant | boolean | If To use this, enable the Await Device Configured DEP configuration option and send this profile with this key set, before sending the DeviceConfiguredCommand. An admin SecureToken user is required, otherwise the FileVault pane does not appear. |
OutputPath | string | The path to the location of the recovery key and computer information property list. |
Password | string | The password of the Open Directory user to add to FileVault. Use the |
PayloadCertificateUUID | string | The UUID of the payload within the same profile containing the asymmetric recovery key certificate payload. |
ShowRecoveryKey | boolean | If |
UseKeychain | boolean | If |
UseRecoveryKey | boolean | If |
UserEntersMissingInfo | boolean | If |
Username | string | The user name of the Open Directory user to add to FileVault. |
Discussion
Specify com.apple.MCX.FileVault2 as the payload type.
FileVault 2 performs full XTS-AES 128 encryption on the contents of a volume. Removing the FileVault payload doesn’t disable FileVault.
As of macOS 10.15, FileVault settings require supervision or user approval when installed manually.
Profile availability
Device channel | macOS |
User channel | NA |
Allow manual install | macOS |
Requires supervision | NA |
Requires user-approved MDM | macOS |
Allowed in user enrollment | NA |
Allow multiple payloads | NA |
Profile example
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>Defer</key>
<true/>
<key>Enable</key>
<string>On</string>
<key>ShowRecoveryKey</key>
<true/>
<key>UseKeychain</key>
<false/>
<key>UseRecoveryKey</key>
<true/>
<key>UserEntersMissingInfo</key>
<false/>
<key>PayloadIdentifier</key>
<string>com.example.myfdefilevaultpayload</string>
<key>PayloadType</key>
<string>com.apple.MCX.FileVault2</string>
<key>PayloadUUID</key>
<string>c2c5f5e9-8ffc-4d8f-9108-fd655b90fdb2</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</array>
<key>PayloadDisplayName</key>
<string>FDE File Vault</string>
<key>PayloadIdentifier</key>
<string>com.example.myprofile</string>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>5ba0de0e-ff06-4c0b-8dca-f5b55ed9de86</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>