dorian-anonymize-yaml
Anonymize YAML values while preserving the YAML shape.
Install
gem install dorian-anonymize-yamlAlso included in the aggregate gem:
gem install dorianUsage
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"