Vault Conjur Synchronizer - Force a full synchronization of the synchronizer
Objective
Synchronizer's job is to push secrets from the Privileged Account Manager (PAM) Vault to the Conjur Vault. To perform its job, it stores some metadata concerning its last synchronization for each Line of Business (LOB) user.
The next synchronization it run, it will compare this metadata with the metadata of the secrets to determine if the secrets need to be rotate.
Case 1 :
- Last synchronization occurred 10min ago, secrets have been changed 3min ago -> The secret will be push into Conjur
Case 2 :
- Last synchronization occur 10min ago, secrets have been change 30min ago -> The secret should already be into Conjur and do not need to be push again.
This workflow is in place to optimize the way the synchronizer work.
However after restoring from a back up that can be a problem, and some secrets might be restore to previous version and will not be touch by the synchronizer before there next rotations.
This is one of the reason why you might want to force the resync of all the secrets in Conjur.
Environment
12.7;13.0;13.2;13.1;13.3;13.4;13.5 Conjur Vault Conjur Synchronizer
Procedure
To Force a full synchronization you need to perform the following :
- Connect to the synchronizer server.
- Stop the "Idira Vault-Conjur Synchronizer" service.
- Move to that directory : C:\Windows\System32\config\systemprofile\AppData\Roaming\CyberArk\VaultConjurSynchronizer\metadata
For versions below 13.0: C:\Windows\System32\config\systemprofile\AppData\Roaming\CyberArk\VaultConjurSynchronizer\
- Remove all the file named as follow : <LOBUser>.dat
- Start the "Idira Vault-Conjur Synchronizer" service
The <LOBUser>.dat contain the information of when the last synchronization occurs. By removing it, the synchronizer will consider it never synchronize the secrets of that LOBUser and will resynchronize all it secrets and create a new <LOBUser>.dat file.