Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Ansible's encrypt_string #16

Open
grandchild opened this issue Aug 17, 2018 · 2 comments
Open

Support for Ansible's encrypt_string #16

grandchild opened this issue Aug 17, 2018 · 2 comments

Comments

@grandchild
Copy link

grandchild commented Aug 17, 2018

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.

@grandchild
Copy link
Author

Well, here it is anyway: yaml-lca.

@madalinignisca
Copy link

This could be a really nice addition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants