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
- π End-to-end encryption β AES-256 at rest, TLS in transit
- π 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 secrets
envsync pull --env development
# Push changes
envsync push --env stagingββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β EnvSync Platform β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β π₯οΈ Dashboard β β¨οΈ CLI β π¦ SDKs β
β (React + Vite) β (Go) β (TypeScript, Go) β
βββββββββββ¬ββββββββββ΄ββββββββ¬βββββββββ΄βββββββββββ¬βββββββββββββββ
β β β
βΌ βΌ βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Core API β
β (Bun + Hono + PostgreSQL) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β π 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 |
packages/envsync-cli |
Go CLI |
apps/envsync-web |
React dashboard |
apps/envsync-landing |
Landing page |
packages/deploy-cli |
Self-hosted deployment CLI |
packages/envsync-keycloak-theme |
Custom Keycloak theme |
sdks/ |
Generated TypeScript and Go SDKs |
scripts/ |
Local bootstrap and helper scripts |
# 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 |
| π Keycloak | 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
# Project management
envsync init
envsync app list
# Secrets
envsync pull --env development
envsync push --env staging
envsync push --env production --strict
# Export
envsync export --format dotenv
envsync export --format json
# Run with secrets
envsync run -- npm startimport { 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' });import "github.com/EnvSync-Cloud/envsync/sdks/envsync-go-sdk/sdk"
client := sdk.NewClient("https://api.envsync.cloud")
secrets, err := client.Secrets.GetSecrets(ctx, "my-app")EnvSync supports self-hosted deployment with:
- Docker Swarm
- Traefik
- Keycloak
- ClickStack / HyperDX
See SELFHOSTING.md for details.
See CONTRIBUTING.md for guidelines.
- π Docs: docs.envsync.cloud
- π Issues: GitHub Issues
- π¬ Discussions: GitHub Discussions
Made with β€οΈ by the EnvSync team