Dumping Passwords
In an emergency, if the Axidian Privilege components fail, you can dump the privileged account passwords from the Axidian Privilege database.
Location of dump utility: ..PAM_3.2\axidian-pam-tools\dump\Pam.Tools.Dump.exe.
Editing the Configuration File
At first, Open the utility config file axidian-pam-tools\Dump\appsettings.json and specify the access parameters for the Core database:
Database
section:
Database
—DBMS providermssql
—Microsoft SQL Serverpgsql
—PostgreSQL, PostgreSQL Pro
ConnectionStrings
—DBMS connection stringMicrosoftSQL connection string
Data Source
—the name of the DBMS server or named instanceInitial Catalog
—database nameUser ID
—database connection accountPassword
—account's password- other options available, see documentation for SqlClient 3.0 .NET Core
"ConnectionString": "Data Source=sql.domain.local; Initial Catalog=IPAMCore; Integrated Security=False; User ID=IPAMSQLService; Password=password"
cautionIf using a Named Instance of Microsoft SQL Server, the value of the Server parameter must be specified in the Server Name\Named instance format.
"PamCore": "Data Source=sql\\instance; ..."
PostgreSQL connection string
Host
—the name of the DBMS server or named instaDatabase
—database nameUsername
—database connection accountPassword
—account's password- other options available, see documentation for Npgsql connection string
"ConnectionString": "Host=sql.domain.local; Database=IPAMCore; Integrated Security=False; Username=IPAMSQLService; Password=password"
Encryption
section:
Algorithm
—Core database encryption algorithmKey
—Core database encryption key
Launching the Utility
The utility can be executed with the following arguments:
decrypt-ssh-key
—decrypting encrypted exported ssh key of the accountdecrypt-password
—decrypting encrypted exported password of the accountdecrypt-secrets
—decrypting credentials of accounts from specified or choosen folderssh-key
—dumping the SSH key of the account, you must specify the account, for example:Pam.Tools.Dump.exe ssh-key --name res2\administrator
password
—dumping the password of a privileged account, you must specify an account, for example:Pam.Tools.Dump.exe password --name res2\administrator
all-secrets
—dumping all credentials to the .\Results folder, or to the specified one. Passwords will be dumped to accounts.csv file, keys will be dumped to sshKeys folder in separate files. Example command:Pam.Tools.Dump.exe all-secrets --output c:\temp
help
—displaying more information of a specific commandversion
—displaying version information