Difference between revisions of "Ansible-vault encrypt"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
  [[ansible-vault]] encrypt PATH_TO_FILE_TO_ENCRYPT
+
  [[ansible-vault]] [[encrypt]] PATH_TO_FILE_TO_ENCRYPT
 
  New Vault password:
 
  New Vault password:
 
  Confirm New Vault password:
 
  Confirm New Vault password:
 
  Encryption successful  
 
  Encryption successful  
 +
 +
 +
Your encrypted file will the following format:
 +
$ANSIBLE_VAULT;1.1;[[AES256]]
 +
65333530343839353235336235356.../...
 +
.../...
  
 
== Related terms ==
 
== Related terms ==
 +
* <code>[[ansible-vault decrypt]]</code>
 
* <code>[[openssl enc]]</code>
 
* <code>[[openssl enc]]</code>
* <code>[[ansible-vault encrypt string]]</code>
+
* <code>[[ansible-vault encrypt_string]]</code>
 
* <code>[[vault kv put]]</code>
 
* <code>[[vault kv put]]</code>
* <code>[[ansible-vault decrypt]]</code>
+
* <code>[[git-crypt]]</code>
 +
* <code>[[kubectl create secret]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 13:55, 7 November 2022

ansible-vault encrypt PATH_TO_FILE_TO_ENCRYPT
New Vault password:
Confirm New Vault password:
Encryption successful 


Your encrypted file will the following format:
$ANSIBLE_VAULT;1.1;AES256
65333530343839353235336235356.../...
.../...

Related terms[edit]

See also[edit]

Advertising: