Use the following configuration examples to quickly set up and customize the data_masking plugin. You’ll find scenarios that cover predefined entity masking, custom keyword and regex rules, fuzzy matching, and advanced combinations — all designed to help you protect sensitive data in both requests and responses.
This configuration demonstrates reversible hashing, which temporarily masks sensitive data during processing but restores the original values in the final response. This is particularly useful for API proxying scenarios where you want to protect sensitive data as it passes through your gateway but deliver the original data to the end client.