Difference between revisions of "Ansible-vault"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{lowercase}}
 +
https://docs.ansible.com/ansible/latest/user_guide/vault.html
 +
 
Support for saving encrypted information (passwords, API Keys ...) in playbooks using Ansible Vault (<code>[[ansible-vault]]</code><ref>https://docs.ansible.com/ansible/latest/user_guide/vault.html</ref>) since 2014
 
Support for saving encrypted information (passwords, API Keys ...) in playbooks using Ansible Vault (<code>[[ansible-vault]]</code><ref>https://docs.ansible.com/ansible/latest/user_guide/vault.html</ref>) since 2014
  
<code>[[ansible-vault encrypt]] passwords.yml</code><ref>https://docs.ansible.com/ansible/latest/user_guide/vault.html</ref><ref>http://manpages.org/ansible-vault</ref>
+
Encrypt file:
 +
* <code>[[ansible-vault encrypt]] passwords.yml</code><ref>https://docs.ansible.com/ansible/latest/user_guide/vault.html</ref><ref>http://manpages.org/ansible-vault</ref>
  
 
* <code>[[ansible-vault --help]]</code>
 
* <code>[[ansible-vault --help]]</code>
 
* <code>[[ansible-vault --version]]</code>
 
* <code>[[ansible-vault --version]]</code>
  
<code>ansible-vault [create|decrypt|edit|encrypt|rekey] [--help] [options] file_name</code>
+
* <code>ansible-vault [create|decrypt|edit|encrypt|rekey|[[view]]] [--help] [options] file_name</code>
  
  
 
== Commands ==
 
== Commands ==
 +
* <code>[[ansible-vault create]]</code>
 
* <code>[[ansible-vault encrypt]] YOUR_FILE</code>
 
* <code>[[ansible-vault encrypt]] YOUR_FILE</code>
 +
* <code>[[ansible-vault encrypt_string]]</code>
 
* <code>[[ansible-vault decrypt]] YOUR_FILE</code>
 
* <code>[[ansible-vault decrypt]] YOUR_FILE</code>
 
* <code>[[ansible-vault view]] YOUR_FILE</code>
 
* <code>[[ansible-vault view]] YOUR_FILE</code>
Line 20: Line 26:
 
== Related terms ==
 
== Related terms ==
 
* <code>[[openssl enc]]</code>
 
* <code>[[openssl enc]]</code>
* <code>[[--ask-vault-pass]]</code>
+
* <code>[[--ask-vault-pass]] or  [[--ask-vault-password]]</code>
 
* <code>[[--vault-password-file]]</code>
 
* <code>[[--vault-password-file]]</code>
 
* <code>[[vars_files:]]</code>
 
* <code>[[vars_files:]]</code>
 +
* [[vault ID]]: <code>[[--vault-id]]</code>
 +
* <code>[[sops]]</code>
 +
* <code>[[password:]]</code>
  
 
== See also ==
 
== See also ==
 
* {{ansible-vault}}
 
* {{ansible-vault}}
* {{Ansible}}
 
 
* {{secrets}}
 
* {{secrets}}
 
* {{vault}}
 
* {{vault}}

Latest revision as of 13:34, 25 January 2023

Advertising: