When enabling FileVault using the GUI (System Preferences < Security & Privacy < FileVault), it is possible to configure a linked iCloud account which can be leveraged for lost password recovery:

Screenshot System Preferences FileVault

I would like to set up FileVault via the command-line, as a part of a Mac provisioning script. FileVault can be enabled via the command-line tool fdesetup: sudo fdesetup enable

I cannot find the option to enable the iCloud link via this comand-line tool fdesetup. Can anybody help me with this?

You must log in to answer this question.

Browse other questions tagged .