Usage of AAPM Console Tool
Pam.Tools.Aapm — console utility for retrieval a password or SSH Key accounts by Applications.
Path: ..PAM_2.10.0\axidian-pam-tools\aapm\
Console Utility Configuration
To configure the console utility, you need to configure appsettings.json file:
Section Auth:
- Auth.Username — Application name
- Auth.Password — Application password. For getting the password go to UC → Applications → View credentials.
Section Endpoints:
- CoreUrl — Core address.
- IdpUrl — Idp address.
Configuration Example
{
"Auth": {
"Username": "MyApplication",
"Password": "M3YTy;[j;q&*DrZQSl(?B1agm$7uS+",
},
"Endpoints": {
"CoreUrl": "https://debmng.axidian.test/core",
"IdpUrl": "https://debmng.axidian.test/idp"
}
Usage of Console Utility
Windows
To run the console utility, open the terminal, go to the folder with the utility and execute the command .\Pam.Tools.Aapm.exe
Possible Parameters:
Usage Example:
Input:
./Pam.Tools.Aapm.exe get-accounts
./Pam.Tools.Aapm.exe get-password --name AXIDIAN\IPAMADServiceOps
Linux
note
Make sure you have dotnet-runtime-6.0 installed.
To run the console utility, open the terminal, go to the folder with the utility:
cd PAM_2.10.0\axidian-pam-tools\aapm\
and run the command dotnet Pam.Tools.Aapm.dll with chosen argument.
Usage Example
Input
dotnet Pam.Tools.Aapm.dll get-accounts