Difference between revisions of "Ansible-vault encrypt string"

From wikieduonline
Jump to navigation Jump to search
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
  
 +
[[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%
  
* [[vault kv put]]
+
 
 +
Save your data removing  <code>!vault |</code> line.
 +
 
 +
Decrypt using: <code>[[ansible-vault decrypt]]</code>.
 +
 
 +
 
 +
== Related terms ==
 +
* <code>[[vault kv put]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 14:46, 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[edit]

See also[edit]

Advertising: