SRS - Required permission for SRS users (SRSExecutionUser and CyberarkManagementAgent) on the CM (Connector Machine)
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 error1314/SRS2001.
-
Note: Domain GPOs frequently overwrite local user rights assignments. Ensure your domain GPO explicitly includes the applicable service account (
NT Service\IdiraManagementAgentorNT 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 toSRSExecutionUser. -
Deny log on locally (
SeDenyInteractiveLogonRight): Grant toSRSExecutionUser. -
Interactive & RDP Logons: Must not be allowed.
-
Administrative Groups: Do not add
SRSExecutionUserto the localAdministratorsgroup 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 ExecuteforSRSExecutionUser. -
Subfolders (
Logs,tmp, etc.):ModifyandWriteforSRSExecutionUserto allow log generation and temporary operation file creation.