What is Infisical?
Secrets sprawl is how incidents start: API keys in CI variables, .envs in Slack, tokens nobody rotated. Infisical is the open-source consolidation point - projects with environments, versioned secrets with point-in-time recovery, references, dynamic secrets, and machine identities for non-human consumers.
The pricing landscape makes self-hosting pointed: Infisical Cloud Pro prices per identity per month and machines count as identities - a dozen services and runners is real money. HashiCorp’s hosted Vault prices its production tier plus per-client fees. This stack does not count identities: stateless container, managed Postgres, noeviction Valkey, auto-migrations.
And the consumers are already in your project: inject secrets into the CI runner templates, agents, and apps via the CLI, SDKs, or machine-identity auth - with audit and rotation instead of copy-paste.
What you get
- Projects, environments, secret versioning + point-in-time recovery
- Secret references, dynamic secrets, rotation
- Machine identities for services, CI, and agents
- Integrations: K8s operator, CI, Terraform, SDKs, CLI
- Stateless on managed Postgres; migrations on start
- MIT core (enterprise dirs licensed separately upstream)
How it runs on Lyngbak
| Service | Role | Public |
|---|---|---|
infisical | app + API (:5000) | yes |
broker / db | noeviction Valkey / managed Postgres | no |
Before you deploy
ENCRYPTION_KEY / AUTH_SECRET / REDIS_AUTHcore secrets (openssl one-liners)
SITE_URLthe app’s https domain after first deploy
Sizing and billing
The Node app wants ~1-1.5 GiB; everything durable is in the managed Postgres. SMTP is optional (invite/MFA emails).
A resource is a flat monthly price, with RAM and disk add-ons when the stack needs a little more than a tier, and room for your own apps on a larger one. On Usage Billing each service takes the smallest size that fits it and is billed by the second it runs, so a stopped stack stops costing CPU and RAM. Its 5 GiB of volumes cost $0.15 per GiB a month ($0.75/mo) for as long as they exist. One workspace can use both. See pricing
Compared with the managed service
| Service | Plan | Price | Includes |
|---|---|---|---|
| Infisical Cloud | Pro | $18/mo | per identity/mo - and machines count as identities |
| HCP Vault | Standard (small) | $1152/mo | ~$1.58/hr + ~$112 per client/mo; the $22/mo dev tier has no SLA |
Prices from each vendor's pricing page, June 2026.
Run it locally first
The same compose file runs with plain Docker Compose. Clone the template source, copy .env.example to .env, and run docker compose up -d.
Questions
How does the cost compare to Infisical Cloud or Vault?
Cloud Pro prices per identity per month with machines counted, so 10 services + 5 humans are 15 billed identities. HCP Vault prices its production tier by the month plus per-client fees. Here identities are uncounted - you pay for the compute the stack reserves.
How do my deployments consume secrets?
Machine identities + the CLI/SDKs: a service authenticates and pulls its environment at boot or build. The CI runner templates in this catalogue pair naturally - runners fetch fresh secrets per job instead of storing them in forge settings.
Infisical or just platform env vars?
Env vars are fine until you need rotation, versioning, audit, sharing across stacks, or secrets for machines outside the platform. Infisical adds that layer - and writes back to env-var systems via integrations where that remains the delivery mechanism.