Difference between revisions of "Ansible-vault encrypt string"

From wikieduonline
Jump to navigation Jump to search
Line 14: Line 14:
  
  
Save your data removing  <code>!vault |</code>.
+
Save your data removing  <code>!vault |</code> line.
 +
 
 +
Decrypt using: <code>[[ansible-vault decrypt]]</code>.
  
  

Revision as of 14:45, 7 November 2022

ansible-vault encrypt_string your-string-to-encrypt
New Vault password:
Confirm New Vault password:
Encryption successful
!vault |
          $ANSIBLE_VAULT;1.1;AES256
          33633261303336633335616363643835393933346431333232356237656266323138613261643063
          3263666561396134323162313030613530626435383839370a353638313434393334376264363531
          33666131396630316161613363663262343130393064323533666137653161386438356637313363
          3661306432333365330a303363376435323731396634653163616362393732646262366330623935
          3665%


Save your data removing !vault | line.

Decrypt using: ansible-vault decrypt.


Related terms

See also

Advertising: