dotenc
A tool for encrypting environment variables with existing SSH keys and managing them in Git
What does it do?
When dotenc is set up for a project, encrypted .env.*.enc files are stored in Git and public keys are kept in .dotenc/. Developers can access their environments with existing SSH keys and create personal encrypted environments. When an authorized developer runs git diff, dotenc decrypts both versions locally and shows added, removed, and modified variables. In a newly cloned repository, dotenc init configures Git diff integration for that repository.
Key features
- Store environment files in Git as encrypted .env.*.enc files
- Access encrypted environments with existing SSH keys
- Show authorized developers variable changes through a local Git diff
- Configure Git diff integration in a cloned repository with dotenc init
- Use without an external service