Secrets Management
One of the core use cases for Varlock is to manage secrets.
Handling Secrets
Section titled “Handling Secrets”varlock uses the term “sensitive” to describe any value that should not be committed to version control. This includes secrets, passwords, and other generally sensitive information.
For local development, varlock allows you to encrypt sensitive values in your .env.* files using varlock encrypt and then decrypt them using varlock load or varlock run.
This works exclusively for local development since it relies on your system’s keyring and biometric authentication to store and retrieve the encryption keys.
Workflow
Section titled “Workflow”- Install
varlockincluding the desktop app - Add sensitive values to your
.env.*file(s) - Encrypt them using
varlock encrypt - Decrypt them using
varlock loadorvarlock run
Next Steps
Section titled “Next Steps”- Learn about security best practices
- Explore JavaScript ecosystem integration
- Check out other language support