Redacts or hashes sensitive data inside an arbitrarily nested JSON document
Prerequisites: uv and uvx.
uvx --from git+https://github.com/Symas1/json-redactor@v2.0.1 json-redactor --help
echo '[{ "name": "Anna", "email": "anna@example.com", "ssn": "123-45-6789" }, { "name": "Ben", "email": "ben@example.com", "ssn": "987-65-4321" }]' \
| uvx --from git+https://github.com/Symas1/json-redactor@v2.0.1 json-redactor --keys email --keys-regex ^ss --hashReview usage examples in Makefile.examples target.
Prerequisites: uv, make and (optional) direnv.
make sync && source .venv/bin/activate
make lint mypy test
make help