ViewPassword for all Target accounts
search cancel

ViewPassword for all Target accounts

book

Article ID: 189573

calendar_today

Updated On:

Products

CA Privileged Access Manager (PAM) CA Privileged Access Manager - Cloakware Password Authority (PA) CA Privileged Access Manager - Server Control (PAMSC)

Issue/Introduction

We are planning to upgrade our Primary Site which has  2 nodes in a cluster to latest version . We will add additional 3rd node to it ,so after upgrade we will have 3 nodes in our primary site . We will be following all steps  as per documentation . Our environment contains around 1800 password as of now . Apart from the steps mentioned in documentation , can I extract all passwords  before the upgrade  ? Just in case any one needs to login to their servers and i can provide login credentials to them.

 

Environment

Release : 3.2

Component : PRIVILEGED ACCESS MANAGEMENT

Resolution

If you have CLI ( PAM Command Line Interface ) enabled then you can use the  command as such

capam_command capam=capamServer adminUserID=admin cmdName=listTargetAccounts TargetAccount.userName=root

This will list all the Target accounts which has a username as root, if you want the output irrespective of the username name specified then use the command as below -

capam_command capam=capamServer adminUserID=admin cmdName=listTargetAccounts

This will list all the accounts for you, once you have the accountID's from above command you can use the viewAccountPassword as below -

capam_command apam=capamServer adminUserID=admin cmdName=viewAccountPassword TargetAccount.ID=5
reason="Power outage reason" reasonDetails="Recover Tuesday am"

Additional Information

Install and setup Credential Manager Remote CLI documentation link -

https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-privileged-access-management/privileged-access-manager/3-3-2/programming/credential-manager-remote-cli-and-java-api/install-and-set-up-the-remote-cli-and-java-api.html

Credential Manager CLI Commands

https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-privileged-access-management/privileged-access-manager/3-3-2/programming/credential-manager-remote-cli-and-java-api/credential-manager-cli-commands.html