Difference between revisions of "Ansible-vault encrypt"

From wikieduonline
Jump to navigation Jump to search
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
*<code>[[ansible-vault]] encrypt YOUR_FILE</code>
+
[[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 ==
 
== 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>
* [[vault kv put]]
+
* <code>[[vault kv put]]</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: