Support Portal

for ProcessRobot and WinAutomation

Start a new topic
Answered

Update Multiple Credentials via Process

I would like to use a bot to update a number of passwords in the Credential Manager. I understand there's a way to update a single password via the steps below, but is it possible to create a script that will import the username from a CSV/table/list and update the Get Credential Variable?


a) Get Credential: this action will allow you to store the credential you wish to update, within a Variable.

b) Set Variable: Set Variable or any other action that will give you the opportunity to access (see How to work with Credentials section later on) and set the value of a Credential Property; effectively creating an updated Credential.

c) The Update Credential action (this action): that allows you to save the changes of the updated Credential.



Best Answer

is it possible to create a script that will import the username from a CSV/table/list and update the Get Credential Variable?

yes, if you code a Get Credential and Update Credential action for each username in credential manager that you wish to update
....place that in loop processing where your reading either a)  each row of your excel, or b) a csv file row or c) text file in json format
.... and then check username read from file and execute your  case statement or an if elseif block, checking the username, retrieved from the file row and then execute the Get Credential, specify password and then Update Credential with new password.


Answer

is it possible to create a script that will import the username from a CSV/table/list and update the Get Credential Variable?

yes, if you code a Get Credential and Update Credential action for each username in credential manager that you wish to update
....place that in loop processing where your reading either a)  each row of your excel, or b) a csv file row or c) text file in json format
.... and then check username read from file and execute your  case statement or an if elseif block, checking the username, retrieved from the file row and then execute the Get Credential, specify password and then Update Credential with new password.


1 person likes this

Great. Thanks! Though it would be great if we could instead use a variable within Get Credential, and just change the value of the variable, rather than using multiple case statements.


Get and update credential actions, only allows selecting from drop down list. You may want to add request for a variable option to specify credential name, as an enhancement request in the new features forum.
Login or Signup to post a comment