Difference between revisions of "Ansible-vault"
Jump to navigation
Jump to search
↑ https://docs.ansible.com/ansible/latest/user_guide/vault.html
↑ https://docs.ansible.com/ansible/latest/user_guide/vault.html
↑ http://manpages.org/ansible-vault
Line 28: | Line 28: | ||
* <code>[[--vault-password-file]]</code> | * <code>[[--vault-password-file]]</code> | ||
* <code>[[vars_files:]]</code> | * <code>[[vars_files:]]</code> | ||
− | * [[vault ID]] | + | * [[vault ID]]: <code>[[--vault-id]]</code> |
== See also == | == See also == |
Revision as of 12:32, 14 February 2022
https://docs.ansible.com/ansible/latest/user_guide/vault.html
Support for saving encrypted information (passwords, API Keys ...) in playbooks using Ansible Vault (ansible-vault
[1]) since 2014
Encrypt file:
ansible-vault encrypt passwords.yml
[2][3]
ansible-vault [create|decrypt|edit|encrypt|rekey|view] [--help] [options] file_name
Contents
Commands
ansible-vault create
ansible-vault encrypt YOUR_FILE
ansible-vault decrypt YOUR_FILE
ansible-vault view YOUR_FILE
ansible-playbook --vault-id @prompt create-users.yml
Activities
- Learn about
ansible-vault
common uses cases
Related terms
See also
ansible-vault [ create | encrypt
|decrypt
|view
|encrypt_string ]
,ansible-vault --version
,ansible-vault --help
- Secrets: Kubernetes secrets,
ansible-vault
, Hashicorp Vault, AWS Secrets Manager, Google Secret Manager,git-crypt
, SOPS: Secrets OPerationS, Google Cloud Secret Manager, GitHub secret scanning alerts vault [ secrets enable | kv put | kv get | server | operator | auth | token | secrets | auth enable | status
] Vault Changelog,vault help
Advertising: