ansible-vault encrypt string

From wikieduonline
(Redirected from Encrypt string)
Jump to navigation Jump to search

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[edit]

See also[edit]

Advertising: