Infisical's Agent Vault: Credentials Never Enter the Agent

· Dev & Open Source · Secrets Management · AI Agents · Open Source · DevSecOps

Infisical's Agent Vault replaces credential delivery with a proxy that attaches keys at the network edge, so an AI agent only ever holds a time-boxed session token. The MIT-licensed platform pairs that with AES-256-GCM storage, PKI, KMS, and a 2026 release train of 171 versions.

Infisical's Agent Vault: Credentials Never Enter the Agent

The open-source platform stops handing credentials to code and brokers them at the network edge.

Executive Takeaway: Infisical's pitch is no longer "Vault, but easier." Its Agent Vault takes the credential out of the agent's runtime: the agent holds a session token, a proxy it cannot inspect attaches the real key at the network boundary, and the grant dies when the session does. That closes the prompt-injection-to-API-key path most agent sandboxes still leave open.

The rest of the platform is conventional but complete: AES-256-GCM at rest with KMS/HSM seal-wrapping, an MIT-licensed core, and 34.3k commits behind it. The trade is operational, not conceptual: Postgres plus Redis plus a proxy, dynamic secrets behind a paywall, and a new single point of failure that now holds every key.

The Infisical dashboard: one project, five environments, folders and secrets side by side.
The Infisical dashboard: one project, five environments, folders and secrets side by side.

Infisical on GitHub (MIT core)

1 · What Actually Changed

The unit of access moved from a stored secret to a scoped session.

Infisical shipped the pieces separately — secrets in 2022, PKI in 2024, PAM in 2026 — then wired them into one identity model. Agent Vault is the part that changes the threat model rather than the feature list.

Agent Vault: broker at the edge

The agent holds a token; the proxy holds the key

  • Orchestrator: creates a session bound to exactly one access bundle; the agent cannot widen it.
  • Proxy: fetches the credential and attaches it only to hosts the session allows.
  • Hooks: your own server can approve or refuse each request before the credential is attached.
  • Coverage: HTTP APIs, MCP servers, databases, and SSH; session logs are encrypted, optionally stored in your S3.
Agent Vault cover art: one highlighted bundle among thousands — the single access bundle a session is scoped to.
Agent Vault cover art: one highlighted bundle among thousands — the single access bundle a session is scoped to.

AES-256-GCM, sealed by KMS/HSM

96-bit nonces, integrity check on every read

  • Secrets are encrypted with AES-256-GCM before they reach PostgreSQL; Redis carries cache, queues, and cron.
  • An external KMS or HSM can hold the wrapping key, so database access alone is not enough to decrypt.
  • TLS 1.2 minimum; Cloud negotiates the hybrid X25519MLKEM768 group when the client supports it.
  • ML-DSA (FIPS 204) certificates and signing keys exist, but only on Enterprise.
Infisical's post-quantum artwork: a classical key-exchange ribbon dissolving into encoded data — the record-now-decrypt-later risk hybrid key exchange addresses.
Infisical's post-quantum artwork: a classical key-exchange ribbon dissolving into encoded data — the record-now-decrypt-later risk hybrid key exchange addresses.

Six products, one control plane

Secrets, scanning, PKI, KMS, PAM, agents

  • Secret scanning covers 140+ credential types across files, git history, and every push.
  • PKI issues X.509 through ACME, EST, or SCEP and can sync to AWS ACM and Azure Key Vault.
  • Humans and machine identities share one RBAC engine: subject/action pairs scoped to org or project.

2 · Benchmarks & Landscape

Open core, more surface area, faster release train — but not the deepest engine.

Open-core vs source-available

License, language, and scope, side by side

DimensionInfisicalHashiCorp VaultOpenBao
Core licenseMIT (+ paid /ee)BUSL-1.1MPL-2.0
LanguageTypeScript/NodeGoGo
GitHub stars31.9k36.6k9.5k
Self-host depsPostgres + RedisRaft or ConsulRaft or Consul
Agent brokeringNativeNot nativeNot native
Dynamic secretsPaid tierCoreCore
Unseal requiredNoYesYes

171 releases in 11 months

A fast-moving v0.x line, not a frozen appliance

GitHub's release API shows 171 tags published in 2026 through December 5 — roughly 3.5 per week on the v0.167.x line. Pin image tags and read the repo's upgrade-impact/ notes before bumping a production instance.

Stars don't equal depth

31.9k vs 36.6k is not the whole story

Infisical carries 31,859 stars, 2,702 forks, and 896 open issues; Vault carries 36,603 stars and a decade of production history in its leasing model. Independent reviews credit Vault with the deeper dynamic-secret engine and Infisical with the easier adoption path. Choose the workflow you need, not the badge.

3 · Limits, Costs & Counterarguments

The free tier is real; not all of the useful half is free.

Free tier stops at dynamic secrets

Rotation, PITR, SSO, custom roles are paid

  • Independent reviewers note dynamic secrets need a paid licence, while Vault ships them in core.
  • Third-party pricing trackers list a free tier for 5 identities and Pro at $20 per identity per month, billed yearly; confirm on the pricing page before budgeting.
  • Secret versioning and point-in-time recovery are listed as paid — the audit trail you want after an incident may sit behind the upgrade.

The self-host tax: ~995 MB idle

Node, Postgres, Redis, and a proxy

  • SelfHost Atlas measures about 995 MB of idle RAM and more containers than Vault's single Go binary, and scores Infisical 2/5 against Vault's 3/5 for self-hosting.
  • In exchange you skip Vault's init/unseal ritual and HCL policy language, and you run services a platform team already knows how to back up.

Proxy is now the crown jewel

One token reaches every service in a bundle

  • Sessions created from the CLI default to --ttl never; only a revoke or process exit closes them. Set an explicit TTL.
  • A stolen proxy token yields brokered access to every host in its bundles until you rotate it.
  • The published threat model excludes storage-backend access, runtime memory probing, and compromised clients. It is a boundary, not a guarantee.

4 · Practical Decision Playbook

Who should move this quarter, and the one-hour test.

Adopt now, wait, or skip

Match the tool to the failure you actually have

  • Adopt: teams with .env sprawl, contractors needing time-boxed access, or agents in sandboxes holding real API keys.
  • Wait: shops that need Vault-grade leased credentials today, air-gapped single-binary installs, or zero new stateful services.
  • Skip: anyone who cannot operate PostgreSQL and Redis with tested backups — a secrets manager that loses its database is an outage.

Ship it: proxy + scoped run

The three-command shape of Agent Vault

#1. Proxy where agent traffic leaves the network
INFISICAL_AGENT_VAULT_PROXY_TOKEN=$PROXY_TOKEN \
  infisical agent-vault proxy --port=17323 --log-format=json

#2. Launch the agent; the CLI mints a 1h session for the bundle
infisical agent-vault run --access-bundle coding-agent --ttl 1h \
  --proxy 127.0.0.1:17323 -- claude

#3. Kill the grant by ID when the job ends
infisical agent-vault sessions revoke <session-id>

One-hour evaluation path

Prove revoke works before you trust it

  • Bring up the stack with the documented compose file, then run infisical scan --verbose against one real repo to see the detectors fire.
  • Create an access bundle with a disposable GitHub token, mint a 10-minute session, and confirm the proxy refuses a host outside the bundle.
  • Revoke mid-session and watch the next request fail; that one test tells you more than any feature matrix.

5 · Verified Sources

Read the primary material

Repo, security model, agent internals, independent reviews

GitHub: Infisical/infisical

Security model and encryption

How Agent Vault works

Post-quantum readiness

SelfHost Atlas: Infisical vs Vault

Wetheflywheel: open-core vs depth

中文导读:Infisical Agent Vault:密钥不进 Agent 运行时

Infisical 的 Agent Vault 不再把凭据交给应用,而由代理在网络边界附加真实密钥,Agent 手里只有一枚限时会话 token。这个 MIT 许可的平台把它与 AES-256-GCM 加密、PKI、KMS 组合在一起,2026 年已发布 171 个版本。

Primary Sources & References

  1. GitHub: Infisical/infisical
  2. Security model and encryption
  3. How Agent Vault works
  4. Post-quantum readiness
  5. SelfHost Atlas: Infisical vs HashiCorp Vault
  6. Wetheflywheel: Infisical vs HashiCorp Vault