Posted on 04-25-2023 02:35 AM
i want to create an extension attribute to display FileVault recovery key.
No luck with this one.
Thanks for your advice
Posted on 04-25-2023 06:18 AM
@Eskobar You're not going to be able to extract the key that way, it's only available when the key is created. The only mechanism I've heard of to programmatically extract the key was a post made to the MacAdmins Slack channel where someone had written a script to bring up the key in the JSS console and scrape the page to extract the key. Unfortunately I cannot find that post any more.
Posted on 04-25-2023 06:34 AM
Hi @Eskobar, if you are using Jamf Pro, it is already already a menu in the inventory called "Disk Encryption".
The personal Recovery Key is the one you are searching for.
Posted on 04-25-2023 08:17 AM
In a recent version of Jamf Pro, I think it was 10.25.x, Jamf finally added the ability to show the FV Individual Recovery Key in a column in a report, as an inventory display item. Realistically, that's the only way you'll be able to report on it or display it.