You are here: Business Intelligence Exchange (BIX) > Configuring the extraction environment > Enabling password encryption

Enabling password encryption

BIX lets you pass in a Pega 7 Platform username and password to rule-resolve the Rule-Admin-Extract rule to run. If you want to enable security for the database username and password, you can implement JCE "keyring" encryption by creating a pegarules.keyring file. You can use keyring encryption to encrypt the username and password.

  1. Run the KeyringImpl Java class, which accepts three parameters and generates the keyring file. The parameters are:
  2. To encrypt BIX passwords in the same file, pass an additional argument named "bix". Running the KeyringImpl Java file with this additional parameter prompts the user for the BIX username and password. The file encrypts the information that you enter.

Note: The runPega batch script assumes that the prconfig.xml provided as an argument to the Keyringimpl class is the same as the prconfig.xml file in the prweb/web-inf/classes folder. If the prconfig.xml file is in a different location, use the Java command directly as instructed in the PDN article How to encrypt passwords, properties, and BLOBs.