Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Encrypt from the Command Line
When running Data Loader in batch mode from the command line, you must encrypt the following configuration parameters:
- sfdc.password
- sfdc.proxyPassword
- Open a command prompt, and navigate to the bin subfolder of your Data Loader installation folder.
- Run encrypt.bat.
- At the command line, follow the prompts provided to execute the following actions.
- Generate a key: -k [path to key
file]
Generates a key file, and saves it in %userprofile%\.dataloader\dataLoader.key if the path is not specified. Store this file with care as you use it for encryption and decryption.
- Encrypt text: -e <plain text>
<path to key
file>
Generates an encrypted version of the text. Provide a key file for the encryption.
- Decrypt text: -d <encrypted text>
<path to key file>
Decrypts the text using the key file.
- Generate a key: -k [path to key
file]