Enable security for the database username and password by implementing a
Java Cryptography Extension (JCE) keyring encryption. To do so, create a
pegarules.keyring file and append the encryption information to your
command-line extraction Java method.
For additional details on creating a keyring for other instances of database password, see article How To Encrypt Database Passwords Using a JCE Keyring file.
prconfig.xmlfile with your text and source-code editor, such as Notepad++.
Below the line that contains the element
<env name="database/databases/PegaDATA/password" value="a_password " />, add the following keyring prefix element to create the
BIX-extract.kerying: <env name="identification/KeyringPrefix" value="BIX-extract" />
Specify an encryption algorithm by adding the following
Specify the length of the key that you want to use to encrypt the file by adding the following
Save and close the
Run your command-line extraction with the following changes:
For details about running a command-line extraction process, see Running a BIX command-line extraction.
KeyringImplJava class: com.pega.pegarules.crpyto.KeyringImpl
Add the directory and file name in which you want to generate the
Add the directory location of the
Add the Extract Java class and its distribution directory.
<env name="identification/KeyringAlgorithm" value="AES" />
<env name="identification/KeyringLength" value="256" />