Ship environment variables without the drift.
CLI-first secrets and config delivery for dev, staging, CI, and production.
The problem: .env files are the #1 source of credential leaks. Teams share secrets via Slack DMs, email threads, and Google Docs. Each copy is a potential breach.
The solution: EnvSync provides a single source of truth for environment variables and secrets, with:
- 🔄 Point-in-time rollback — Undo any secret change to any previous state
- ✅ Approval workflows — Require review before production changes
- 🔐 Encryption — Secrets are encrypted at rest and in transit, and the keys are managed by EnvSync's key service.
- 🚀 CLI-first workflow —
envsync pullandenvsync pushin your terminal - 🌐 28+ integrations — GitHub, GitLab, Vercel, AWS, and more
# Install CLI
curl -fsSL https://cli.envsync.cloud/install.sh | sh
# Login
envsync auth login
# Pull and push use envsyncrc.toml from `envsync init`
envsync pull
envsync pushOne API process serves both product routes (/api/...) and, when Enterprise modules are enabled, manage routes (/api/v1/manage/{module}/...). There is no separate management API process or management SDK package.
┌──────────────────────────────────────────────────────────────┐
│ EnvSync Platform │
├──────────────────────────────────────────────────────────────┤
│ 🖥️ Dashboard │ ⌨️ CLI │ 📦 SDKs (TS + Go) │
│ (React + Vite) │ (Go) │ core + manage paths │
└─────────┬─────────┴───────┬────────┴──────────┬──────────────┘
│ │ │
▼ ▼ ▼
┌─────────────────────────────────────────────────────────────┐
│ Single API process (Bun + Hono) │
│ /api/* · /api/v1/manage/* (Enterprise) │
├─────────────────────────────────────────────────────────────┤
│ 🔐 Secrets │ 🔄 Rotation │ 🌐 Integrations │
│ 📋 Variables │ ⏰ Dynamic │ 📊 Audit Logs │
│ 🔑 OIDC/SAML │ 📤 Log Fwd │ 🪝 Webhooks │
└─────────────────────────────────────────────────────────────┘
| Feature | Description |
|---|---|
| 🔐 Secrets Management | Store, sync, and manage secrets across teams |
| 📋 Environment Variables | Version-controlled config with rollback |
| 👥 Team Management | Users, teams, roles, and permissions |
| 📊 Audit Logs | Track every change with full history |
| 🔄 Change Requests | Approval workflows for production |
| Feature | Description |
|---|---|
| 🔑 OIDC Auth | GitHub Actions, GitLab CI, K8s service accounts |
| 🛡️ SAML SSO | Okta, OneLogin, Azure AD, Google, Duo, Rippling |
| 🔄 Secret Rotation | Auto-rotate DB creds, AWS IAM, Azure SP |
| ⏰ Dynamic Secrets | Short-lived credentials with auto-expiry |
| 📤 Log Forwarding | Datadog, Splunk, Sumo Logic |
| 🌐 28 Integrations | GitHub, GitLab, Vercel, AWS, Azure, and more |
| Path | Purpose |
|---|---|
packages/envsync-api |
Bun + Hono API (product + optional manage surface) |
packages/envsync-enterprise |
Proprietary EE modules/routes (mounted at /api/v1/manage) |
packages/envsync-enterprise-web |
Proprietary dashboard modules (injected into web) |
packages/envsync-cli |
Go CLI |
packages/envsync-kernel |
Shared MIT kernel (errors, ApiModule) |
packages/envsync-ui |
Shared MIT UI tokens/primitives |
apps/envsync-web |
React dashboard shell |
apps/envsync-landing |
Marketing landing (Hosted) |
packages/deploy |
Public OSS self-host CLI (@envsync-cloud/deploy) |
packages/deploy-cli |
EE deploy entry → @envsync-cloud/deploy-enterprise (private) |
docker/atrium |
Atrium config, clients, and branded login |
sdks/envsync-ts-sdk |
Generated TypeScript SDK (core + manage) |
sdks/envsync-go-sdk |
Generated Go SDK (core + manage) |
scripts/ |
Local bootstrap and helper scripts |
Editions / dual license: EDITIONING.md · self-host: SELFHOSTING.md.
# 1. Clone and setup
git clone https://github.com/EnvSync-Cloud/envsync.git
cd envsync
cp .env.example .env
bun install
# 2. Start infrastructure
docker compose up -d
# 3. Initialize
bun run cli:init
bun run cli:create-dev-user --seed
bun run clickstack:sync
# 4. Start development
bun run dev| Service | URL |
|---|---|
| 🖥️ Dashboard | http://app.lvh.me:8001 |
| ⚡ API | http://api.lvh.me:4000 |
| 🔐 Atrium | http://auth.lvh.me:8080 |
| 📊 HyperDX | http://localhost:8800 |
| 📧 Mailpit | http://localhost:8025 |
| 🗄️ RustFS | http://localhost:19000 |
| 🔑 OpenFGA | http://localhost:8090 |
# Authentication
envsync auth login
envsync auth whoami
# Point the project config at an app and environment, then sync
envsync init --app-id "<app-id>" --env-type-id "<env-type-id>"
envsync pull
envsync push
# CI export names the app and environment on the command
envsync export --app my-app --env production --format dotenv
# Run a process with the synced environment
envsync run --command "bun run start"pull and push read envsyncrc.toml. They do not take --env. Full command list: packages/envsync-cli/README.md.
One TypeScript package and one Go package cover both product and Enterprise manage routes. Set BASE / base URL to the API origin only (not a separate manage host).
import { EnvSyncAPISDK } from '@envsync-cloud/envsync-ts-sdk';
const sdk = new EnvSyncAPISDK({ BASE: 'https://api.envsync.cloud' });
const secrets = await sdk.secrets.getSecrets({ app_id: 'my-app' });
// Enterprise (when enabled): sdk.license.*, sdk.enterprise.*, … under /api/v1/manageimport (
"github.com/EnvSync-Cloud/envsync/sdks/envsync-go-sdk/sdk/client"
"github.com/EnvSync-Cloud/envsync/sdks/envsync-go-sdk/sdk/option"
)
c := client.NewClient(option.WithBaseURL("https://api.envsync.cloud"))
// Product + manage packages on the same client (e.g. c.License, c.Enterprise)| Edition | Guide |
|---|---|
| Hosted Enterprise | Platform CI/CD |
| Self-host OSS | envsync-deploy |
| Self-host Enterprise | envsync-deploy-enterprise |
See DEPLOY.md for full instructions (DNS, CLI flow, env matrix, license, pitfalls).
docker/minikms/*.dev.pem files are development and test fixtures. Production Compose does not mount them.
Self-host OSS short form: SELFHOSTING.md. Editions: EDITIONING.md.
See CONTRIBUTING.md for guidelines.
- 📖 Docs: docs.envsync.cloud
- 🐛 Issues: GitHub Issues
- 💬 Discussions: GitHub Discussions
Made with ❤️ by the EnvSync team