Newer Version Available

This content describes an older version of this product. View Latest

Encrypt from the Command Line

Available in: Salesforce Classic and Lightning Experience
Available in: Enterprise, Performance, Unlimited, Developer, and Database.com Editions

The Data Loader command-line interface is supported for Windows only.

Note

When running Data Loader in batch mode from the command line, you must encrypt the following configuration parameters:
  • sfdc.password
  • sfdc.proxyPassword
Data Loader offers an encryption utility to secure passwords specified in configuration files. This utility is used to encrypt passwords, but data that you transmit using Data Loader is not encrypted.
  1. Run \bin\encrypt.bat.
  2. At the command line, follow the prompts provided to execute the following actions:
    Generate a key
    Key text is generated on screen from the text you provide. Carefully copy the key text to a key file, omitting any leading or trailing spaces. The key file can then be used for encryption and decryption.
    Encrypt text
    Generates an encrypted version of a password or other text. Optionally, you can provide a key file for the encryption. In the configuration file, make sure that the encrypted text is copied precisely and the key file is mentioned.
    Verify encrypted text
    Given encrypted and decrypted versions of a password, verifies whether the encrypted password provided matches its decrypted version. A success or failure message is printed to the command line.