Use the Crypto CLI create-mask-policy command to create a masking policy.
Syntax
cryptocli create-mask-policy [options]
Option | Description |
-h or --help | Displays usage text. |
-c or --charset string | The character set to be used with this policy. Strings must be enclosed in double quotes. |
-d or --description string | The description of the policy. Strings must be enclosed in double quotes. |
-m or --maskChar string | The character to use for the mask. By default, this is "#". |
-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. |