Veramask API

HTTPValidationError

object
detailarray[object]
Show Child Parameters
Example

HashStrategy

object

Hash detected values using SHA-256.

typestring

Operator type. Must be ‘hash’.

Default:hash

Example

MaskStrategy

object

Mask detected values by replacing part of the text with a masking character.

typestring

Operator type. Must be ‘mask’.

Default:mask

masking_charstring

Character used to mask text.

Default:*

chars_to_maskinteger

Number of characters to mask.

Default:5

>= 1

from_endboolean

If true, masks characters from the end of the detected value.

Default:false

Example

RedactStrategy

object

Redact detected values completely.

typestring

Operator type. Must be ‘redact’.

Default:redact

Example

ReplaceStrategy

object

Replace detected values with a caller-provided fixed value.

typestring

Operator type. Must be ‘replace’.

Default:replace

new_valuestringrequired

Replacement text to use for the detected value.

Example