onesecret
Keep just one secret to decrypt the rest. onesecret keeps your app's secrets in your repository, encrypted, right next to the code that uses them, and one key opens all of them.
A .env file nobody commits gets pasted into chats and drifts out of sync. A secrets manager keeps values away from the pull requests that need them. Plain text in the repository leaks with every clone. Encrypted in the repository, secrets ship and get reviewed with the code, and anyone who sees it learns only their names.
- Secrets ship in the same commit and pull request as the code that needs them.
- One key opens every secret in every environment.
- Your servers never hold the key: deploys hand the values to the platform, such as Kubernetes, Fly.io, Vercel, or AWS.
- No service to depend on: encryption runs in Node.js, and the files are SOPS files the sops CLI also reads.