Ask HN: What tools should I use to manage secrets from env files?
1–10 of 83 posts
Re: Ask HN: What tools should I use to manage secrets from env files?
#2Some of them have secrets management built-in too, like:
Re: Ask HN: What tools should I use to manage secrets from env files?
#3Re: Ask HN: What tools should I use to manage secrets from env files?
#4Does your team already use a password manager? (If not, they probably should) Some of them have secrets management built-in too, like: - https://1password.com/developers/secrets-management - https://bitwarden.com/products/secrets-manager/
They also have a plugin system[3] that makes it work moderately seamlessly with various other CLI utilities which expect credentials in the environment, such as the `gh`[4] CLI and bazillions of others
1: https://developer.1password.com/docs/cli/
2: https://developer.1password.com/docs/cli/secret-reference-sy...
3: https://github.com/1Password/shell-plugins#-see-it-in-action
4: https://github.com/1Password/shell-plugins/tree/main/plugins...
Re: Ask HN: What tools should I use to manage secrets from env files?
#5This is an interesting alternative to password manager, esp. if you want to version control your secrets https://github.com/getsops/sops
- It let's you decrypt same file using multiple credentials/keys (every team member has its own)
- it can use cloud vaults for encryption/decryption - for instance, keep your keys in Azure Key Vault or similar, and let the team access that using their own setup of AZ cli and SSO login you use to interact with the cloud anyway
- it will be able to keep the encrypted file semantically correct, so you still can use linter checks on push to git, etc
Re: Ask HN: What tools should I use to manage secrets from env files?
#6Re: Ask HN: What tools should I use to manage secrets from env files?
#7Doppler is nice.
Re: Ask HN: What tools should I use to manage secrets from env files?
#8This is an interesting alternative to password manager, esp. if you want to version control your secrets https://github.com/getsops/sops
Re: Ask HN: What tools should I use to manage secrets from env files?
#9Does your team already use a password manager? (If not, they probably should) Some of them have secrets management built-in too, like: - https://1password.com/developers/secrets-management - https://bitwarden.com/products/secrets-manager/
Edit: to expand on this a little, even the image [0] they show on their secrets management landing page is baffling. It's showing an entry in the 1Password app called `AWS - Access Key`, which for some reason has a username and password. Now if I need to inject that into the environment variables on my server, what's the name of the envvar, because `AWS - Access Key` isn't going to work. How do I separate staging variables from production variables? How do I know which project this is the AWS access key for?
[0] https://images.ctfassets.net/b71sid4v0oel/7zRNbDUY8dxGuKxUtV...