Anonymize YAML values while preserving the YAML shape.
gem install dorian-anonymize-yamlAlso included in the aggregate gem:
gem install doriananonymize-yaml [yaml ...] [file ...]Run anonymize-yaml -h for generated option details and anonymize-yaml -v for the installed version.
- Strings keep their letter/digit pattern, numbers become zeroes, booleans become
false, and arrays/hashes keep their structure.
anonymize-yaml "name: Secret123"