How to install EPM with Secure Token and use LCD \ PVWA

How to install EPM with Secure Token and use LCD \ PVWA

89
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 15:58 PM


Objective


Apple File System (APFS) in macOS 10.13 or later changes how FileVault encryption keys are generated. In previous versions of macOS on CoreStorage volumes, the keys used in the FileVault encryption process were created when a user or organization turned on FileVault on a Mac. In macOS on APFS volumes, encryption keys are generated either during user creation, setting the first user’s password, or during the first login by a user of the Mac. This implementation of the encryption keys, when they’re generated and how they’re stored are all part of a feature known as Secure token. Specifically, a secure token is a wrapped version of a key encryption key (KEK) protected by a userʼs password.

From Apple: https://support.apple.com/en-gb/guide/deployment/dep24dbdcf9e/web

In EPM, our service account is required to be part of FileVault for password rotation purposes (LCD\PVWA).
To use LCD feature to rotate password you have 2 options

#1 Install Idira EPM using a pre-defined administrator user which is already authenticated in FileVault (secure token has been added to the user):
$ sudo "./Install Idira EPM.app/Contents/MacOS/CyberArkEPMInstaller" -configuration <configuration file> -installationKey <installation key> -adminUser <administrator user name> -adminPassword <administrator password>

For more details you can look at
https://docs.cyberark.com/Product-Doc/OnlineHelp/EPM/21.4/en/Content/Installation/macOS-InstallAgents.htm


#2 Install Idira EPM and inherit the secure token privilege by executing the command (In terminal):
$ CyberArkEPM -enableEPMUserSecureToken
NOTE: the user which executes the following command MUST appear in FileVault authenticated users(secure token enabled)

To check if CyberArkEPM user has been granted with Secure Token, you need to execute:
$ sudo fdesetup list | grep "_cyberarkepm"

NOTE: once the secure token has been applied to our user, it will be visible in the login screen

Once you have installed CyberArkEPM with Secure Token enabled , you can start to configure and use password rotation policy.
You can check the connection and pull the policy with the following command:

$ sudo CyberArkEPM -immediatePVWAconnection

In more depth of Secure Token and File Vault,
https://support.apple.com/en-il/guide/deployment/dep24dbdcf9e/web


If you're having an issue with PVWA , please open a case with supportinfo attached and describe the issue.



 


Environment


21.3;21.4;21.5;21.6;21.7;21.8;21.9;21.10;21.11;21.12;22.1;22.2;22.3;22.4;22.6;22.8 EPM Password Vault Web Access

Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj00000016MnCAI&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail