macOS / binaries /

APFSUserAgent

/System/Library/CoreServices/APFSUserAgent
APFS new container observer

The APFSUserAgent watches for IOKit notifications about new APFS containers appearing, and about volume hash mismatch. If APFSUserAgent finds a new container with an encrypted volume, it will pop up a DiskUnlock dialog to ask the user for volume unlock password.

source: man