Using encrypt.sh for Salesforce Data Loader on the Mac or Linux/Unix
From the same directory as DataLoader.jar
- java -cp DataLoader.jar com.salesforce.dataloader.security.EncryptionUtil -g SOMEGARBAGESTRINGFOLLOWS
- copy that value to key.txt
- java -cp DataLoader.jar com.salesforce.dataloader.security.EncryptionUtil -e “MYPASSWORD” “/full/path/to/key.txt”
- copy that value to process-config.xml’s sfdc.password
- Add <entry key=”process.encryptionKeyFile” value=”/full/path/to/key.txt”></entry> to process-config.xml
Alternately, add sfdc.password, sfdc.username and process.encryptionKeyFile to config.properties (in the same directory).