Encrypting sensitive data with the Crypto Data Source

Prev Next

This content applies to:


This example shows how to encrypt sensitive values, store them in an Excel connection file and create corresponding data fields in the Crypto Data Source.

Prerequisites

To follow the example in this task:

Steps

Adding and configuring the Crypto Data Source

  1. In Microsoft Word, Excel or PowerPoint, go to the dox42 ribbon and select Data Map.

    Toolbar displaying various functions like Generate, Data Map, and Refresh Template options.

    dox42 ribbon

    The Data Map Designer window opens and previously added data sources appear.

    Data Map Designer interface showing various data source options for integration.

    Data Map Designer window

  2. Select the Crypto button.
    The Crypto window opens.

    Crypto data source configuration with fields for name, password, and encryption key.

    Crypto window

  3. On the Data Source tab, configure the following settings:

    1. In the Name field, enter a name for the Crypto Data Source.

    2. In the Master Password field, enter a password to protect access to the configuration of the Crypto Data Source.

      Note

      The password must include letters, symbols and numbers, with a minimum length of 8 characters.

      Important

      You must remember this password. Otherwise you cannot access this data source afterwards.

    3. Select OK below the Master Password field.
      The Encryption Key field and the remaining tabs become available for configuration.

  4. In the Encryption Key field, enter a key to be used for encrypting and decrypting sensitive values.

    Best practices for the encryption key

    • There are no specific requirements regarding the length or characters of the encryption key. Special characters are also permitted.

    • Keep a secure record of your encryption key and master password. To reproduce the same encrypted values in another data map, use the same master password and encryption key.

    • Avoid changing the encryption key after encrypting sensitive values. If you change the key, you must re-encrypt all affected values and update them in your connection Excel file.

  5. Go to the Encrypt Values tab.

  6. In the Clear Text field, enter the value you want to encrypt, for example, a password from your connection Excel file.

Encrypting sensitive values

  1. Go to the Encrypt Values tab.

  2. In the Clear Text field, enter the value you want to encrypt, for example, a password from your connection Excel file.

    Interface for encrypting values with fields for clear and encrypted text input.

    Encrypt values tab in Crypto window

  3. Select the Encrypt button.
    The encrypted value appears in the Encrypted Text field.

    Encryption interface displaying clear and encrypted text with an encrypt button.

    Encrypt values tab with encrypted password

  4. Select the Copy to Clipboard button to copy the encrypted value to the clipboard.

Storing the encrypted values in the connection Excel file

  1. Open your connection Excel file.

    Connection Excel file with username and password

  2. Replace the original plain text value with the encrypted value from the clipboard.

  3. Repeat the encryption process for each sensitive value you want to protect and replace the corresponding values in your connection Excel file.

    Connection Excel file with encrypted username and password

  4. Save and close the Excel file.

(Optional) Allowing access for additional/custom data sources and custom output actions

If you want to make the decrypted values available to additional/custom data sources or custom output actions, configure the access permissions on the Allowed Data Sources & Output Actions tab.

Note

No additional configuration is required for basic data sources like SharePoint, Excel, XML/JSON, etc.

  1. In the Crypto window, go to the Allowed Data Sources & Output Actions tab.

  2. Select the Include checkboxes next to the data sources where you want the decrypted values to be available. In this example, the D365 FSCM data sources.

  3. Add an Output Action for which you want the decrypted values to be available.

    Allowed Data Sources & Output Actions tab settings

Creating Crypto data fields

  1. In the Crypto window, go to the Fields tab.

  2. To create a new data field, configure the following settings:

    • Click in the Data Field column to select the data field from your Excel data source containing the encrypted value.

    • In the Data Field Name column, enter a name for the new data field.

    • Leave the Value column empty (only populate this column with encrypted values if you do not use an Excel connection file).

  3. Repeat the previous step for each encrypted value you want to make available via the Crypto Data Source.

    Fields tab with Crypto data fields

  4. Select OK to save your changes and close the Crypto window.

    The new data fields are now available for use in other data sources.

    Note

    Unlike regular data fields, the data fields created in the Crypto Data Source are not displayed in the dox42 Data Fields explorer. They are only available in selected configuration fields intended for sensitive data.

  5. Save the data map.

Result

You have created a Crypto data source. The sensitive connection data is now stored in encrypted form in your Excel connection file. The corresponding data fields in the Crypto Data Source provide the decrypted values for use in selected configuration fields of other data sources.

© dox42 2026. All rights reserved.