-
|
Hi! I'm starting to automate my HomeLab setup with Ansible. I want to automate the installation of my database and my VPN, but these require passwords and private keys. I'm worried about security: I've heard about Ansible Vault, but is it too complex for a beginner, or is there a simpler way for a small lab? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Never store secrets in plain text, especially not in a Git repo (even a private one). The best tool for this is indeed Ansible Vault. It’s actually very beginner-friendly: Alternative: If you want to go further later, you can look into HashiCorp Vault, but for 99% of HomeLabs, Ansible Vault is the perfect balance between security and simplicity. |
Beta Was this translation helpful? Give feedback.
Never store secrets in plain text, especially not in a Git repo (even a private one).
The best tool for this is indeed Ansible Vault. It’s actually very beginner-friendly:
Alternative: If you wan…