---
schema_version: "1"
id: a55193ababe44ce3d8af5b03f6c86471f3693a8300eacdc35481ab196e7c4e7d
title: "Step Two: Create the Encrypted Password"
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/data-loader-impl/guides/data-loader/command-line-create-enc-password.md
canonical_url: https://developer.salesforce.com/docs/platform/data-loader-impl/guide/command-line-create-enc-password.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: d8e45faca48cfc38e175126130c9deab7902d1008db8e4105d846d15887f1a7e
products:
  - Data Loader Guide
  - Platform Developer Content
---

# Step Two: Create the Encrypted Password

Create the encrypted password using the key file that you generated in the previous step. Skip this step if you're using OAuth for login authentication.

**note:** The Data Loader command-line interface is supported for Windows only.

1.  In the same command prompt window, enter the following command.

    `encrypt.bat -e <password><Salesforce_Security_Token> <key path>`

    Replace `<password>` with the password that you use to log in to Salesforce in Data Loader combined with your org's [security token](https://help.salesforce.com/s/articleView?id=xcloud.user_security_token.htm&type=5) (no space in between). Replace `<key file path>` with the file path you created in the previous step.

    For example, if your Data Loader password is `myP4sswordsRock` and your org's security token is `00DE0X0A0M0PeLE!AQcAQH0dMHEXAM`, then the command is:

    ```nolang
    encrypt.bat -e myP4sswordsRock00DE0X0A0M0PeLE!AQcAQH0dMHEXAM C:\Users\jjang\.dataloader\dataLoader.key
    ```

2.  Copy the generated encrypted password string. You use this value in a later step.


**See Also**  


-   [Data Loader Command Line Introduction](https://developer.salesforce.com/docs/platform/data-loader-impl/guide/command-line-intro.md)
-   [Step Three: Create the Field Mapping File](https://developer.salesforce.com/docs/platform/data-loader-impl/guide/command-line-create-mapping-file.md)

