Skip to content

Instantly share code, notes, and snippets.

@bcoca
Created September 17, 2019 20:06
Show Gist options
  • Save bcoca/012f981ed1987523135552fabcd3cb8d to your computer and use it in GitHub Desktop.
Save bcoca/012f981ed1987523135552fabcd3cb8d to your computer and use it in GitHub Desktop.
bcoca@erebos:~/work/ansible(stable-2.9)$ echo blah |ansible-vault encrypt_string
New Vault password:
Confirm New Vault password:
Reading plaintext input from stdin. (ctrl-d to end input)
!vault |
$ANSIBLE_VAULT;1.1;AES256
34346363653837343839663362376237613661613662356339626338393235636464396463643336
6538613639366164323036366337666430646661353331350a363436663763333163353032333232
66306264623564336265343535313035396637343238656336376634623737333639653136646235
3764326134333831630a666537326230393162646266313231336662376333343230316238303533
3061
Encryption successful
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment