Hi Team,
Below command is not working as expected
./capam_command -n pam_host -u super cmdName=updateTargetAccountPassword TargetServer.hostName=ip_address TargetApplication.name=application_name TargetAccount.userName=pamadmin password=DE%kdp8& confirmPassword=DE%kdp8&.
<CommandResult><cr.itemNumber>0</cr.itemNumber><cr.statusCode>401</cr.statusCode><cr.statusDescription>PAM-CM-0567: Failed to authenticate with the Password Authority service.</cr.statusDescription></CommandResult>
Looks like its taking password parameter for super's password.
Release : 3.4.x, 4.0.x
Component : PRIVILEGED ACCESS MANAGEMENT
Here is a working example from PAM 3.4 version
./capam_command cspmHostName=pam34x01.net adminUserID=test adminPassword=Password01 cmdName=updateTargetAccountPassword \
"TargetServer.hostName=10.10.10.10" "TargetApplication.name=LABS-AD" "TargetAccount.userName=pamadmin3" \
"[email protected]" "[email protected]"
Abobe (\) is used to put the command over multiple lines if they are big.Please review this document and the TIP it has for more details -
https://techdocs.broadcom.com/us/en/ca-enterprise-software/layer7-privileged-access-management/privileged-access-manager/3-4/programming/credential-manager-remote-cli-and-java-api/use-the-credential-manager-cli/remote-cli-command-syntax.html
https://techdocs.broadcom.com/us/en/ca-enterprise-software/layer7-privileged-access-management/privileged-access-manager/3-4/programming/credential-manager-remote-cli-and-java-api/use-the-credential-manager-cli/remote-cli-command-syntax.html