Configuring Tokenization Parameters
This section describes the Tokenization Configuration parameters and covers the following topics:
Tokenization Configuration Overview
The tokenization configuration is a section in migration.properties
and masking.properties
files. It contains all the necessary information required for the tokenization of input data. For example, the name of the token vault that will receive the tokens for a column, token format that will be used to tokenize a column and whether the generated token will pass or fail luhn check.
A hidden parameter PreserveSpace
has been introduced for File-to-File migration. If this parameter is enabled, the spaces in the plaintext value during tokenization are preserved. This parameter is not applicable for any of the flavors of bulk masking.
Note
To preserve spaces in the generated tokens during File-to-File migration, set the PreserveSpace=true
in the migration.properties
file.
If PreserveSpace
parameter is enabled, spaces are preserved in the following scenarios:
If the plaintext value contains spaces at leading or trailing positions, the spaces are preserved in the generated tokens.
For example:
Plaintext Value Tokens ----356789------ ----184326------ If the plaintext value only contains spaces, the spaces are preserved in the generated tokens.
For example:
Plaintext Value Tokens ---------------- ---------------- Note
In the above examples, - represents space.
If the plaintext value is empty and the
PreserveSpace
parameter is enabled, the "Insert values cannot be empty" message is not displayed on the console.
Below is a sample of the Tokenization Configuration section of migration.properties
file:
Below is a sample of the Tokenization Configuration section of masking.properties
file (for File-to-File tokenization):
Below is a sample of the Tokenization Configuration section of masking.properties
file (for DB-to-DB tokenization):
Decryption Configuration Overview
For tokenization of encrypted text, the Decryption Configuration section in migration.properties
file needs to be configured as mentioned below:
Note
If the above mentioned parameters are not being used, they must be left blank.