Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Pam.Tools.Aapm - console utility for automated getting a password or SSH Key accounts by Applications.
Console Utility configuration
To configure the console utility, you need to configure file appsettings file.json:
Section Auth:
Секция Auth:
- Auth.Username - Application name
- Auth.Password - Application password. For getting the password go to UC → Applications → View credentials.
Image Added
Section Endpoints:
- CoreUrl - Core address.
- IdpUrl - Idp address.
Configuration example :
Code Block |
---|
{
"Auth": {
"Username": "MyApplication",
"Password": "M3YTy;[j;q&*DrZQSl(?B1agm$7uS+",
},
"Endpoints": {
"CoreUrl": "https://debmng.indeed.test/core",
"IdpUrl": "https://debmng.indeed.test/idp"
} |
Usage of console utility
Для запуска консольной утилиты необходимо открыть терминал, перейти в папку с утилитой и выполнить команду .\Pam.Tools.Aapm.exe
Possible parameters:
Image Added
Using examples:
- Input:
Code Block |
---|
./Pam.Tools.Aapm.exe get-password --name INDEED\IPAMADServiceOps |
Output:
Image Added
2. Input:
Code Block |
---|
./Pam.Tools.Aapm.exe get-accounts |
Output:
Image Added