Use the Crypto CLI create-tokenization-policy command to create a tokenization policy.
Syntax
cryptocli create-tokenization-policy [options]
Option | Description |
-h or --help | Displays usage text. |
-A or --alphabet bool | Use True if data to be tokenized using this policy can contain alphabets. Otherwise use False. |
-c or --charset string | The character set to be used with this policy. Strings must be enclosed in double quotes. |
-o or --charsetOption stringArray | The character set option to be used for this policy. Use 1 for space, 2 for punctuation, 4 for numbers, 8 for alphabets, and 16 for fullwidth. |
-d or --description string | The description of the policy. Strings must be enclosed in double quotes. |
-D or --digit bool | Use True if data to be tokenized using this policy can contain digits. Otherwise use False. |
-w or --fullwidth bool | Use True if data to be tokenized using this policy can contain fullwidth. Otherwise use False. |
-k or --keyguid string | The GUID of the key to be used with this policy. Strings must be enclosed in double quotes. |
-n or --name string | The name of the policy to be created. Strings must be enclosed in double quotes. |
-N or --new bool | Use True if creating a new policy, or False if updating an existing policy. The default is True. |
-P or --preservedPrefixLength int | The length of the prefix to be preserved. |
-S or --preservedSuffixLength int | The length of the suffix to be preserved. |
-U or --space bool | Use True if the data to be tokenized using this policy can contain spaces. Otherwise use False. |
-s or --symbol bool | Use True if the data to be tokenized using this policy can contain symbols. Otherwise use False. |