SRS - Required permission for SRS users (SRSExecutionUser and CyberarkManagementAgent) on the CM (Connector Machine)

SRS - Required permission for SRS users (SRSExecutionUser and CyberarkManagementAgent) on the CM (Connector Machine)

271
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 16:08 PM


Question


What permissions and user rights are required for the Secrets Rotation Service (SRS) accounts (SRSExecutionUser and CyberarkManagementAgent or IdiraManagementAgent) on the Connector Management (CM) connector machine?



Environment


Privilege Cloud Secrets Rotation Service (SRS)

Answer


When deploying the Secrets Rotation Service (SRS) via Connector Management (CM), rotation operations execute using dedicated service accounts and local users. The exact Management Agent service account name depends on the installation history and version of Connector Management.

1. Identifying the Agent Service Account

Check Windows Services (services.msc) on the connector machine to identify which service account is in use:

  • New CM 3.x+ Installations: Fresh installations of Connector Management version 3.x and above run under the virtual service account NT Service\IdiraManagementAgent.

  • Upgraded CM Installations: Upgrading an existing Connector Management installation from version 2.x to version 3.x (or higher) retains the original service account name: NT Service\CyberarkManagementAgent.

  • CM < 3.x Installations: Any deployment originally installed on version 2.x or earlier uses NT Service\CyberarkManagementAgent.

2. Connector Management Agent Permissions

The agent service requires the privilege to spawn rotation worker processes under the security context of the SRSExecutionUser.

Grant the following User Rights Assignment via Local Security Policy (secpol.msc) or Domain GPO under Security Settings > Local Policies > User Rights Assignment:

  • Replace a process level token (SeAssignPrimaryTokenPrivilege)

    • Target Account:

      • NT Service\IdiraManagementAgent (for clean CM 3.x+ installations)

        OR

      • NT Service\CyberarkManagementAgent (for upgraded CM instances or CM < 3.x)

    • Purpose: Allows the agent to invoke rotation plugins via SRSExecUserInvoker.exe. If missing, rotations will fail with error 1314 / SRS2001.

Note: Domain GPOs frequently overwrite local user rights assignments. Ensure your domain GPO explicitly includes the applicable service account (NT Service\IdiraManagementAgent or NT Service\CyberarkManagementAgent) so the right is not stripped during policy refreshes.

3. SRSExecutionUser Permissions & Hardening

The SRSExecutionUser is a local Windows user created automatically by the Management Agent during the first rotation attempt (its password is auto-rotated every two weeks).

User Rights Assignment (secpol.msc / GPO):

  • Log on as a batch job (SeBatchLogonRight): Grant to SRSExecutionUser.

  • Deny log on locally (SeDenyInteractiveLogonRight): Grant to SRSExecutionUser.

  • Interactive & RDP Logons: Must not be allowed.

  • Administrative Groups: Do not add SRSExecutionUser to the local Administrators group or any privileged domain groups.

NTFS File System Permissions: On the Management Agent workspace directory (e.g., C:\Program Files\CyberArk\Management Agent\Workspace or your configured installation path):

  • Workspace Root: Read & Read and Execute for SRSExecutionUser.

  • Subfolders (Logs, tmp, etc.): Modify and Write for SRSExecutionUser to allow log generation and temporary operation file creation.



Actions
  • Print
  • Copy Link

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