Onboard accounts using the AOU from Github

Onboard accounts using the AOU from Github

107
Created On 11/10/26 10:53 AM - Last Modified 11/10/26 15:52 PM


Objective


Password Upload Utility (PUU)
Previously the PUU (based on PACLI) has been used to bulk onboard accounts, going forward the recommendation is to either use the out of the box Account discovery tool from the PVWA or to utilise REST API calls to carry out this task.

GitHub Scripts
Idira have created various PowerShell scripts to help with various activities that can be accomplished by using REST API calls. In this KB talk about using the AOU script (Account Onboard Utility), a csv can be provided much like using PUU accounts can be either uploaded or updated if they already exist.

These can be downloaded from here: https://github.com/cyberark/epv-api-scripts, as will any REST API commands/calls these will need to be able to communicate with the PVWA's in the environment and a valid account with the correct permissions will need to be used for the session.

Are these scripts supported by the Idira support team?
Yes and No.

Utilising REST API commands is built in to the product and if you come in to issues the support team can help to guide you in the right direction and bugs will be raised if required.

However if there are bugs/issues with the scripts from Github, this would need to be raised via the Github page and then will be reviewed by R&D to be resolved and consequently getting the scripts updated.

 


Environment


10.4;10.5;10.6;10.7;10.8;10.9;10.10;11.1;11;11.2;11.3;11.4

Procedure


1. First download the scripts from github - https://github.com/cyberark/epv-api-scripts

2.  These will need to be copied over to a server/workstation that can run unsigned PowerShell scripts and has access to the PVWA server(s) via a browser

3. Unzip them and open up the 'Account Onboard Utility' folder: '\epv-api-scripts-master\Account Onboard Utility\'. Note that there is a script in this folder and also one in the 'v10' folder. The differences between these is the current folder uses the older REST API's and the one in the 'v10' folder uses the newer REST API's and they function slightly differently.

4. Custom file account properties/file categories can also be added to the CSV as additional columns, with using the script from the 'v10' folder the account properties will need to be added manually to the platform before the onboard script can be ran. An error will be seen if this step is not done before hand. It is also worth noting if 'login' and 'reconcile' accounts are to be linked to an account during the onboarding (listed in the csv), then these also will need to be manually added. further information on this process can be seen in the following KB articles:

https://community.cyberark.com/s/article/Add-Reconcile-and-Login-Accounts-to-an-Account-using-V10-REST-API
https://community.cyberark.com/s/article/REST-API-How-to-on-board-accounts-with-custom-file-categories

5. One the csv has been populated then it can be executed in an Admin powershell window. A couple of these parameters can be omitted from the command however will be asked for when the script is ran. The following command is an example:

.\Accounts_Onboard_Utility.ps1 -PVWAURL https://ExamplePVWA001.local/passwordvault -Create -CsvPath .\UploadTest001.csv

You will then be prompted for a vault username and password, this will need to be a user that has the required permissions to create a safe (if the safe does not already exist) and upload/create the new accounts in the safe specified.

6. For a full list of the commands and parameters that can be used, either open up the readme in the downloaded folder or view this on github here:

https://github.com/cyberark/epv-api-scripts/blob/master/Account%20Onboard%20Utility/v10/README.md

7. Any help with errors when running the script can raised at the github repository for review.


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000oeLCAQ&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail