AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
Prevent environment variable drift with Pydantic schema validation, pre-commit hooks, and dotenvx encryption
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Sync environment variables across your team. No more "it works on my machine."
Status: stable. envdrift v11 marks the first release the project considers production-ready: core features are covered by integration tests against real backends in CI (LocalStack, HashiCorp Vault, Lowkey Vault emulating Azure) and the real encryption binaries, every bug fix ships a regression test, and changes pass a reliability-first review gate. See the changelog for history.
.env valuesPaid SaaS solutions exist, but do you really want your production secrets on someone else's infrastructure?
envdrift is an open-source CLI that encrypts .env files and syncs them using your existing cloud vault and git.
No hosted service, no additional servers, no third-party trust.
# New team member onboarding - one command
envdrift pull
# That's it. Keys synced from vault, .env files decrypted, ready to code.
📘 This is the heart of envdrift. The end-to-end walkthrough — encrypt, push your key to your cloud vault, and have teammates pull and decrypt in one command — lives in the Env File Sync Guide. Start there.
One-liner (recommended):
# macOS / Linux
curl -sSL https://raw.githubusercontent.com/jainal09/envdrift/main/install.sh | sh
# Windows (PowerShell)
irm https://raw.githubusercontent.com/jainal09/envdrift/main/install.ps1 | iex
Or via pip:
pip install "envdrift[vault]" # All vault providers
1. Encrypt and push to vault (once per project):
envdrift encrypt .env.production
envdrift vault-push . my-app-key --env production --provider azure --vault-url https://myvault.vault.azure.net/
2. Team members pull instantly (no config needed):
envdrift vault-pull . my-app-key --env production --provider azure --vault-url https://myvault.vault.azure.net/
vault-pull fetches the key, writes .env.keys, and decrypts .env.production in one step.
3. Daily workflow (config-based, needs [vault.sync] in envdrift.toml):
envdrift pull # After git pull - sync keys, decrypt
envdrift lock # Before commit - encrypt, verify keys
Note:
pull/lockoperate on all services defined in your sync config. For a single secret without any TOML config, usevault-pull/vault-push.
| Feature | Description |
|---|---|
| Schema Validation | Validate .env against Pydantic schemas |
| Environment Diffing | Compare dev vs staging vs production |
| Vault Integration | Azure, AWS, HashiCorp, GCP |
| Encryption | dotenvx and SOPS backends |
| CI/CD Mode | Fail builds on misconfiguration |
envdrift validate .env --schema config:Settings
envdrift diff .env.dev .env.prod
Full documentation: jainal09.github.io/envdrift
envdrift's pull requests are reviewed by three AI review bots, all of which provide their service to this project for free through their open-source programs. Thanks to them for supporting open source:
Only the first two appear in the badge row above; cubic publishes no README badge.
MIT