-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Ansible now supports (and has for a while) encrypting only parts of a file, i.e. a YAML value into a vault-encrypted string: See encrypt_string.
Support for this would be great. I tried implementing it myself, but only half succeeded, before giving up, because I couldn't convince sublime-text to do my bidding.
Ideally one would highlight the value (even only part of the value should work, since you can work out the innermost common ancestor of the start and end position in yaml) and then hit encrypt and it would be replaced inline.
If code for the yaml-ancestry foo is desired I can dig up my code from a few months ago.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels