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.
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.