How can the password of a connector be retrieved

Hi All,

I have a HCM connector whose connection is failing. The application team is asking for get payload from postman for troubleshooting. Any idea how the password can be retrieved from the connector, as it was done a few years back and none of the team now have the details.

you use context.decrypt(“PASSWORD”) to decrypt the password stored into the xml of application

Please can you share the exact command and should this be executed on the iiq console?

you can create rule similar to this rule:

You have to take a look into your application xml in which attribute is the password stored:

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE Rule PUBLIC "sailpoint.dtd" "sailpoint.dtd">
<Rule  language="beanshell" name="PasswordDecrypt" type="IdentityAttribute">
 
  <Source>

  Application app = context.getObjectByName(Application.class, "Your Application Name");
   String password = (String) app.getAttributes().getMap().get("password");
        String passwordDecrypted = context.decrypt(password);
  return passwordDecrypted;
  </Source>
</Rule>
1 Like

did you search into the documentation?

there’s no decrypt iiqconsole command , you need to use the user as @abartkowski have shared

you could also manually copy password from application xml and then modify this rule like this:


   String password = "<here put manually copied value of application password>";
        String passwordDecrypted = context.decrypt(password);
  return passwordDecrypted;
2 Likes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.