You are planning to upgrade a PAM cluster to the latest version. This environment contains around 1800 password as of now. Is it possible to extract all passwords before the upgrade, in case any one needs to login to their servers while PAM is unavailable?
If you have the remote CLI ( PAM Command Line Interface ) enabled, then you can use the command as suchcapam_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. The output will include the account IDs for each account. Once you have the account IDs, you can use the viewAccountPassword command as below:
capam_command apam=capamServer adminUserID=admin cmdName=viewAccountPassword TargetAccount.ID=5
reason="Power outage reason" reasonDetails="Recover Tuesday am"