Unlock APFS volumes with Terminal commands
You can use Terminal commands to unlock encrypted volumes.
These instructions tell you what the users will see and what they need to do. They must:
Open the Terminal application and run
diskutil apfs list.
A list of all connected volumes is displayed.
Search for the volume name they want to recover and note the volume identification, for example,
Call the administrator and ask for the recovery key using the volume identification as recovery key ID.
You give them the recovery key. See Retrieve recovery key (Macs).
Enter the recovery key in the disk password dialog to unlock the disk.
Alternatively, users can use the command
diskutil apfs unlockVolumeand enter the recovery key in the Terminal application to unlock the disk.
The disk can now be accessed in Finder.