sydro / atom-ansible-vault

Atom package to create and modify ansible-vault file
MIT License
32 stars 10 forks source link

Support for single encrypted variables #8

Closed rarguelloF closed 6 years ago

rarguelloF commented 7 years ago

It would be nice to support this feature: http://docs.ansible.com/ansible/playbooks_vault.html#single-encrypted-variable

Tell me if you think it's feasible and I could help you with a PR.

Thanks! :D

sydro commented 7 years ago

Hi, ansible v2.3 will be release soon and i think that it's an interesting feature. If you want create a PR, i will appreciate it! :+1: we can discuss together how to implement it, if you need it.

Thanks for help!!!

jdoss commented 7 years ago

I just found out about this feature in Ansible 2.3. It would be super awesome if you could:

1) highlight the text you wanted to encrypt
2) hit a hotkey or toggle the ansible-vault command via the right click dialog to encrypt it

or maybe this as well, just search for lines that have !vault | and encrypt/decrypt the text after it for the whole document.

As of right now I have a file that I just put the encrypted text into and I use the right click dialog to encrypt it and I copy it back into my playbook. Pretty clunky workflow to use this feature.

kyle-williams-1 commented 6 years ago

See if PR#33 solves your issue https://github.com/sydro/atom-ansible-vault/pull/33