Handling Passwords in the Property File
For all properties in Documaker Connector, you can encrypt the property value by writing the value with a prefix of ~ENCRYPT. This is particularly useful for passwords, so the property file is not left with an unprotected password in it. Documaker Connector does this automatically if the property...
- File is not write-protected by the connector application
- Value is written with a prefix of ~ENCRYPT
If Documaker Connector sees ~ENCRYPT when it reads the property file, it encrypts the property value and then writes that encrypted value back to the file with a prefix of ~ENCRYPTED.
For example, if the property file contains this line:
source.documaker.password=~ENCRYPT oracleWhen you run Documaker Connector, it changes the line to read:
source.documaker.password=~ENCRYPTED 1-S6rx_NR_wt2hsjXScy0 Note that there is no way to make Documaker Connector to decrypt an encrypted property value string.
Note:
This applies to the Documaker Connector engine and all the sources and destinations you set up to have their configurations stored in the main Documaker Connector properties file. It is possible that custom code could handle password protection in another way.