4 ms·
For software developers, `asdf`[0] and dockerized projects goes a long way. For provisioning the environment variables needed for development, HashiCorp's `vaul
by prophesi 2y ago
For software developers, `asdf`[0] and dockerized projects goes a long way. For provisioning the environment variables needed for development, HashiCorp's `vault`[1] can make that pretty simple. Combine that with `direnv` to have it load the value dynamically with:
```
# .envrc
API_KEY=$(vault kv get -field=API_KEY secret/projectA/dev)
```
I also wanted to experiment using `pass`[2] instead, but messing with GPG keyrings and the like is unwieldy and not too user-friendly. It's what I use for personal projects since Vault is overkill.
[0] https://github.com/asdf-vm/asdf https://github.com/asdf-vm/asdf
[1] https://github.com/hashicorp/vault https://github.com/hashicorp/vault
[2] https://www.passwordstore.org/ https://www.passwordstore.org/
- ramses0 2y agoI believe there is `pass-age` https://github.com/FiloSottile/passage https://github.com/FiloSottile/passage ... unifies to `ssh` keys as the key material. https://github.com/FiloSottile/age https://github.com/FiloSottile/age ``` RECIPIENT can be an age public key generated by age-keygen ("age1...") or an SSH public key ("ssh-ed25519 AAAA...", "ssh-rsa AAAA..."). ```