You can redact any file through VGS HTTP proxy by sending this file in your request. For example to redact an image:
Convert an image into the base64 format.
Create JSON file with the base64 text of the image.
Create a new inbound route in VGS dashboard with default settings. Add the field from your file in JSON path in the filter section to redact this particular field.
- Use this curl request in order to send an image to VGS proxy:
curl https://tntsfeqzp4a.sandbox.verygoodproxy.com/post \
-H "Content-type: application/json" \
- To make sure request was sent successfully, monitor routes activity either with the logger widget (open by clicking
Show Logsbutton) or via the Access Logs page.
You can upload files up to 24MB in size. The Vault API supports files up to 32MB in size.