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.
Drag a Data Masking transformation from the transformations palette onto the mapping canvas.
Connect the Data Masking transformation object to the data flow.
Select the Data Masking transformation object in the mapping designer.
The properties appear in the properties tab.
tab, enter a name and optional description for the transformation object.
tab, configure the field rules that define the data that you want to copy to the target.
By default, the transformation includes all fields.
tab, you can configure the following properties:
Parameter. To assign masking techniques at run time, add or create another mask rule parameter.
Dictionary Connection. To use a relational dictionary for custom substitution masking, choose the relational dictionary connection from the list of dictionary connections.
Storage Connection. To configure unique substitution masking, choose a storage connection from the list of storage connections.
Add. To configure masking techniques in the mapping, click
and select the fields that you want to mask. Click
to select and configure the required masking technique. If you assign a masking technique in the mapping, you cannot edit it at run time.
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.
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.