The project is in a healthy, maintained state
Anonymize scalar values in YAML input while preserving structure.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

>= 1.2.3, < 2
 Project Readme

dorian-anonymize-yaml

Anonymize YAML values while preserving the YAML shape.

Install

gem install dorian-anonymize-yaml

Also included in the aggregate gem:

gem install dorian

Usage

anonymize-yaml [yaml ...] [file ...]

Run anonymize-yaml -h for generated option details and anonymize-yaml -v for the installed version.

Notes

  • Strings keep their letter/digit pattern, numbers become zeroes, booleans become false, and arrays/hashes keep their structure.

Examples

Anonymize inline YAML

anonymize-yaml "name: Secret123"