Examples
Six runnable sample projects showing keyden across different stacks. Clone the repo and follow each README.
github.com/divyabairavarasu/keyden-examples ↗Express + dotenv Migration
Start here. A side-by-side before/after showing how to migrate an Express app from dotenv to keyden with zero code changes to your app logic.
View on GitHub ↗Next.js App Router
Next.js 14 with NEXT_PUBLIC_* build-time variables. How keyden wins over .env even with Next.js's own env loader.
View on GitHub ↗Vite + React
Fix the Vite loadEnv overwrite trap. Prevent Vite from shadowing keyden-injected secrets in vite.config.js.
View on GitHub ↗SDK Programmatic Usage
Programmatic access with session caching. Derive the key once, read secrets without re-prompting for the lifetime of the process.
View on GitHub ↗GitHub Actions CI/CD
Run your test suite with vault secrets — no .env in the repo. Store your vault as a base64 GitHub Actions secret.
View on GitHub ↗Python / FastAPI
Cross-language secrets via keyden run. Works with any language — Python, Go, Ruby — that reads environment variables.
View on GitHub ↗⚠️ Local development only
All examples use keyden for local development. In production (Vercel, AWS, Docker), use your platform's native secrets management. keyden's vault lives at ~/.keyden/vault.enc — it does not exist on a cloud server.