Is it possible with SCIM PAM module to update password on existing privileged item in CyberArk ?
I know we can create new privileged item with scim pam api but not getting idea if we can update/reset password for existing (after creation) privileged item.
I tried below but no luck:
ProvisioningPlan testPlanOnly = new ProvisioningPlan();
testPlanOnly.setTargetIntegration(“appName”); // give actual application name
ObjectRequest testobjonly = new ObjectRequest();
testobjonly.setApplication(“appName”); // give actual application name
testobjonly.setOp(ObjectOperation.Modify);
testobjonly.setType(“PrivilegedData”);
testobjonly.setTargetName(“complete long string which is a ‘value’ of the privileged item under entitlement catalog”);
testobjonly.add(new AttributeRequest(“password”, ProvisioningPlan.Operation.Set, “test12345”)); // Here I want to change the password of existing privileged item
testPlanOnly.add(testobjonly);
Provisioner provisioner = new Provisioner(context);
ProvisioningProject testOnlyproj = provisioner.compile(testPlanOnly);
provisioner.execute(testOnlyproj);