envsecrets¶
CLI tool for managing encrypted environment files using GCS and age encryption.
Overview¶
envsecrets provides a secure way to manage environment files across teams and machines. Files are encrypted using age encryption and stored in Google Cloud Storage with full version history via git.
Features¶
- Age encryption: Industry-standard encryption using age
- GCS storage: Reliable cloud storage with built-in redundancy
- Version history: Full git history for all environment files
- Team sharing: Share encrypted files via GCS bucket access
- Conflict detection: Warns when local and remote versions diverge
How it Works¶
- Environment files listed in
.envsecretsare tracked - On
push, files are encrypted with age and committed to a local git cache - The encrypted cache is synced to GCS
- On
pull, the cache is synced from GCS and files are decrypted to your project
Installation¶
Requirements¶
- Go 1.24 or later
- Google Cloud Storage bucket
- GCS service account with Storage Object Admin permissions