If is possible to create a rule to decrypt the password from iiq.properties - mysql db?

Which IIQ version are you inquiring about?

Version 8.3

Is this question regarding a custom connector? If so, please share relevant details below.

No, this question is not regarding a custom connector.

Share all details related to your problem, including any error messages you may have received.

If that true that you can create a rule to decrypt a password? not sure about this> my intention is decry-pt the password i get in iiq.properties. It seems is possible to write rule something that below
return context.decrypt(“hashYouWantToDecrypt”);

Yes, running context.decrypt() on a sailpoint encrypted value will return the decrypted value.

Perhaps show the example??

You can take any encrypted data in IIQ and decrypt it. You can create a Generic Rule and execute in Debug editor.

Note that, you cannot decrypt a text that is encrypted in a different IIQ environment.

You can import below Rule.

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE Rule PUBLIC "sailpoint.dtd" "sailpoint.dtd">
<Rule name="Main-Decrypt">
  <Source>
  String encryptedPassword = "1:ACP:EsdDb46HdiETEubMczLO+GaRx9M1XssGF4RWi2/Tr2g=";
  
  String decryptedPassword = context.decrypt(encryptedPassword);
  
  return decryptedPassword;
  </Source>
</Rule>

1 Like

Or as a simple one-liner :wink:

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE Rule PUBLIC "sailpoint.dtd" "sailpoint.dtd">
<Rule name="Main-Decrypt">
  <Source>
  return context.decrypt("1:ACP:EsdDb46HdiETEubMczLO+GaRx9M1XssGF4RWi2/Tr2g=");
  </Source>
</Rule>
1 Like

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