Transformations > Data Masking transformation > Creating a Data Masking transformation
  

Creating a Data Masking transformation

Create a Data Masking transformation to mask source data. You can assign masking techniques in the transformation object or enter a mask rule parameter to assign masking techniques when you run the mapping.
Use the Mapping Designer to create a Data Masking transformation. When you create a mapping, a Source transformation and a Target transformation are already on the canvas for you to configure. Configure the Source transformation to represent the source data that you want to mask. Configure the Target transformation to represent the target connection where you want to store the masked data.
    1. Drag a Data Masking transformation from the transformations palette onto the mapping canvas.
    2. Connect the Data Masking transformation object to the data flow.
    3. Select the Data Masking transformation object in the mapping designer.
    The properties appear in the properties tab.
    4. On the General tab, enter a name and optional description for the transformation object.
    5. On the Incoming Fields tab, configure the field rules that define the data that you want to copy to the target.
    By default, the transformation includes all fields.
    6. On the Masking Rules tab, you can configure the following properties:
    7. Select the Target transformation and map the incoming fields to fields in the target.
    By default, the Data Masking transformation adds the prefix "out_ " to fields that you include from the Source transformation object. You cannot use automatic field mapping to map the fields in the Target transformation object because the field names do not match. Rename the incoming field names in the Target transformation if you want to use automatic field mapping. Select the pattern rename option and enter "out_/" as the pattern to delete the prefix.
    8. Save and run the mapping.
    If you use a mask rule parameter in the mapping, you assign and configure the masking techniques when you run the mapping.
    The following image shows the second step of a mapping task that uses a mask rule parameter:
    The image shows the second step in a Mapping task that contains a mask rule parameter. The list of masking techniques is open and the Random masking technique is selected from the list. The Configure button that you use to configure the masking technique is visible.