Hacker News new | ask | show | jobs
by drinchev 3417 days ago
How do you guys, handle this problem?

I use either `git-crypt` [1] or `ansible-vault` [2].

1: https://github.com/AGWA/git-crypt

2: http://docs.ansible.com/ansible/playbooks_vault.html

7 comments

I follow the 12 factor app methodology (https://12factor.net/), everything in ENV.
For puppet users: https://github.com/TomPoulton/hiera-eyaml

Advantage of this approach is it encrypts the values individually instead of per file. This way the secrets files are git/review friendly.

Dotenv and Ansible vault, depending on the project. I also want to look into Hashicorp's Vault https://www.vaultproject.io
ENV variables. I use `dotenv` in Ruby projects.
And it actually uses GPG : )
Yep, same here. I prefer git-crypt, but we use Ansible vault too.
.env or ENV with AWS KMS