Self-host Infisical
v0.167.10- Stars
- 30 520
infisical/infisicalWhat is Infisical?
Infisical is an open-source platform for managing secrets, certificates, and secure infrastructure access. It is designed to help teams securely store, access, and distribute secrets across environments with fine-grained controls, automatic rotation, and audit logging. Infisical also supports secrets scanning, X.509 certificate lifecycle management, and privileged access management (PAM) for databases, servers, and accounts.
Key Features
- Secrets Management: Securely store, access, and distribute secrets across environments with fine-grained controls, automatic rotation, and audit logging.
- Secrets Scanning: Automatically detect and alert on hardcoded secrets in source code, CI pipelines, and infrastructure.
- Certificate Management: Issue and manage X.509 certificates using protocols like EST, with support for internal and external CAs.
- Infisical KMS: Encrypt and decrypt data using centrally managed keys with enforced access policies and full audit visibility.
- Infisical PAM: Manage access to resources like databases, servers, and accounts with policy-based controls and approvals.
- RBAC and ABAC: Role-based and attribute-based access controls for users and machine identities.
- SSO and MFA: Support for Google SSO, GitHub SSO, SAML, OIDC, and multi-factor authentication.
- Audit Logs: Track every action performed by user and machine identities in Infisical.
Use Cases
- Developers: Eliminate hardcoded secrets, enforce fine-grained access controls, and adopt secure workflows like secret rotation and dynamic secrets.
- Infrastructure Teams: Automate X.509 certificate issuance and renewal, manage SSH access using short-lived, policy-driven certificates, and encrypt/decrypt sensitive data with centralized key control.
- Security Teams: Audit every access, credential use, and change, and enforce compliance with regulatory requirements like SOC 2, HIPAA, and FIPS 140-3.
Infisical is designed to integrate cleanly into your stack—improving security without adding complexity. It can be self-hosted on your own infrastructure or used via Infisical Cloud.
Infisical alternatives
Agent VaultSelf-hosted open-source credential broker for AI agents. Eliminates credential exfiltration risk by proxying requests and injecting credentials at runtime.CompareAgent Vault with Infisical
Ultimate Certificate ManagerManage your own PKI with this web-based CA: issue certificates, run ACME/SCEP/EST servers, integrate with Active Directory, and automate renewals.CompareUltimate Certificate Manager with Infisical
vaultSelf-hosted, source-available secrets server that issues dynamic cloud and database credentials, offers encryption as a service, and logs every access for audit.Comparevault with Infisical
TeleportSelf-hosted open-source platform replacing VPNs with short-lived certificates, SSO, MFA, RBAC, and session audit across SSH, Kubernetes, databases, and web apps.CompareTeleport with Infisical
DocusealOpen-source, self-hosted DocuSign alternative for creating fillable PDF forms and collecting digital signatures via a mobile-friendly web tool.CompareDocuseal with Infisical
AuthorizerSelf-hosted open-source auth and authorization server: OAuth2/OIDC, social logins, magic links, MFA, passkeys, SAML SSO, RBAC plus embedded OpenFGA, on 13+ databases.CompareAuthorizer with Infisical
Pocket IDSelf-hosted, open-source OpenID Connect Certified provider for homelabs and small teams that find Keycloak or Authentik too heavy; passkey sign-in only.ComparePocket ID with Infisical
stack-authSelf-hosted open-source user platform for SaaS apps: auth with passkeys, teams and RBAC, API keys, payments, emails, webhooks, and product analytics with replays.Comparestack-auth with Infisical
Should you self-host Infisical?
Infisical scores 78/100 on selfhost.directory (how scoring works) and ranks #1 of 12 in Secrets Management. It has 30 520 GitHub stars, +823 in the last 30 days.
It shipped 85 stable releases in the past year. The latest, v0.167.10, came out on 13 November 2026. New versions land roughly every 1 days.
Setup is advanced: plan for several services and some ongoing maintenance. An official Docker image is available. It is MIT-licensed and written mostly in Typescript.
Its closest alternative on selfhost.directory is vault (78/100, 36 517 stars). Infisical scores higher overall. See Infisical vs vault side by side.
Infisical README
The open-source security infrastructure platform: Manage secrets, certificates, keys, privileged access, and AI agent access in one platform.
Community | Infisical Cloud | Self-Hosting | Docs | Website | X | Hiring (Remote/SF)
Infisical is the open source security infrastructure platform that teams use for secrets, certificates, privileged access management, and AI agent access.
We're on a mission to make security tooling more accessible to everyone, not just security teams, and that means redesigning the entire developer experience from ground up.
Centralize your application secrets and configuration across every environment, with versioning, rotation, and leak prevention built in.
- Dashboard: Manage secrets across projects and environments (e.g. development, production, etc.) through a user-friendly interface.
- Secret Syncs: Sync secrets to platforms like GitHub, Vercel, AWS, and use tools like Terraform, Ansible, and more.
- Secret versioning and Point-in-Time Recovery: Keep track of every secret and project state; roll back when needed.
- Secret Rotation: Rotate secrets at regular intervals for services like PostgreSQL, MySQL, AWS IAM, and more.
- Dynamic Secrets: Generate ephemeral secrets on-demand for services like PostgreSQL, MySQL, RabbitMQ, and more.
- Secret Sharing: Share a secret with anyone through a link that expires after a set time or number of views.
- Infisical Kubernetes Operator: Deliver secrets to your Kubernetes workloads and automatically reload deployments.
- Infisical Agent: Inject secrets into applications without modifying any code logic.
- Honey Tokens: Plant decoy credentials alongside your real secrets, and get an alert as soon as someone tries to use them.
Find secrets that were committed to your code, and block commits that add new ones.
- Repository Scanning: Scan the full history of your GitHub, GitLab, and Bitbucket repositories and each new push, then review the findings in Infisical.
- Local Scanning: Scan files, directories, and git history from the CLI, and install a pre-commit hook that blocks any commit containing a secret.
Issue, track, and renew X.509 certificates from internal or external CAs, and sign software artifacts.
- Internal CA: Create and manage a private CA hierarchy directly within Infisical.
- External CA: Integrate with third-party certificate authorities such as Let’s Encrypt, DigiCert, Microsoft AD CS, and more to leverage existing PKI infrastructure or issue publicly trusted certificates.
- Certificate Lifecycle Management: Create certificate profiles and policies to control how certificates are issued, including enrollment methods such as API, ACME, EST, or SCEP. Manage the full lifecycle from issuance to renewal and revocation with CRL and inventory tracking.
- Certificate Discovery: Scan your network to find certificates and track them in Infisical.
- Certificate Syncs: Sync certificates to external platforms like AWS Certificate Manager and Azure Key Vault.
- Alerting: Get notified when certificates are issued, renewed, revoked, or about to expire.
- Code Signing: Sign software artifacts like containers, installers, and packages with managed code-signing certificates, central approval, and a full audit trail.
Keep cryptographic keys in Infisical and use them through the API, so your applications never hold the keys.
- Cryptographic Keys: Create keys in the Infisical UI or through the API, then rotate, import, and export them.
- Cryptographic Operations: Encrypt and decrypt data, sign data and verify signatures, and generate and verify MACs.
- KMIP: Let storage arrays, databases, and other KMIP clients manage their keys in Infisical.
- Integrations: Use your keys for Kubernetes encryption at rest and Sigstore Cosign signing.
Manage and secure access to critical infrastructure like databases and servers with policy-based controls, approvals, and full session visibility.
- Privileged Access Management: Decouple user identity from infrastructure credentials. Users authenticate with their SSO identity while Infisical brokers just-in-time access to resources like PostgreSQL, SSH servers, Kubernetes, Active Directory, and more.
- Session Recording: Capture and replay privileged sessions for audit and compliance.
- Credential Rotation: Rotate the passwords of your PAM accounts on a fixed schedule.
- Web Access: Connect from the browser to SSH servers, Windows servers over RDP, and databases such as PostgreSQL, MySQL, and Redis.
- Access Requests: Require approval before a member can use a sensitive account.
- Discovery: Scan Active Directory, databases, and Unix servers for privileged accounts and import them into PAM.
Give AI agents access to the APIs they call, like LLM providers, GitHub, and Slack, without ever handing them a real credential.
- Agent Vault: Agents send requests through a proxy that attaches the real credential at the network boundary, so a prompt-injected agent has no secret to leak. Works with any agent, including Claude Code, Codex, OpenCode, and agents you build yourself.
- Access Bundles: Group the services an agent can call, each with its host, authentication method, and credential.
- Sessions: Issue time-bound grants scoped to one access bundle, from the CLI for cron jobs, containers, and CI, or from the API for each run of your own code.
- Session Logs: Keep an encrypted record of every request an agent makes, stored in your own Amazon S3 bucket.
Capabilities that span every Infisical product.
- User Authentication: Sign users in with SSO or LDAP, and provision them with SCIM.
- Machine Authentication Methods: Authenticate machine identities with Infisical using a cloud-native or platform agnostic authentication method (Kubernetes Auth, GCP Auth, Azure Auth, AWS Auth, OIDC Auth, Universal Auth).
- Access Controls: Define advanced authorization controls for users and machine identities with RBAC, additional privileges, temporary access, access requests, approval workflows, and more.
- Audit logs: Track every action taken on the platform, with optional audit log streaming to external logging providers.
- Gateway: Securely reach private network resources from Infisical without opening inbound connections to your environment.
- Self-hosting: Deploy Infisical on-prem or cloud with ease; keep data on your own infrastructure.
- Infisical SDK: Interact with Infisical via client SDKs (Node, Python, Go, Ruby, Java, .NET, PHP, Rust, C++).
- Infisical CLI: Interact with Infisical via CLI; useful for injecting secrets into local development and CI/CD pipelines.
- Infisical API: Interact with Infisical via API.
Check out the Quickstart Guides
| Use Infisical Cloud | Deploy Infisical on premise |
|---|---|
| The fastest and most reliable way to get started with Infisical is signing up for free to Infisical Cloud. |
View all deployment options Already self-hosting? Plan version upgrades with the Infisical Upgrade Tool. |
To set up and run Infisical locally, make sure you have Git and Docker installed on your system.
Linux/macOS:
git clone https://github.com/Infisical/infisical && cd "$(basename $_ .git)" && cp .env.example .env && docker compose -f docker-compose.prod.yml upWindows (Command Prompt):
git clone https://github.com/Infisical/infisical && cd infisical && copy .env.example .env && docker compose -f docker-compose.prod.yml upOnce running, create an account at http://localhost:80.
Contributing? Check out our guide to see how to get started.
With the Infisical CLI, you can scan for 140+ secret types in your files, directories, and git repositories.
To scan your full git history, run:
infisical scan --verboseTo block any commit that contains a secret, install a pre-commit hook:
infisical scan install --pre-commit-hookTo scan every push to your GitHub, GitLab, and Bitbucket repositories, see Secret Scanning.
This repo is available under the MIT expat license, with the exception of the ee directories, which contain premium enterprise features requiring an Infisical license.
If you are interested in managed Infisical Cloud or self-hosted Enterprise Offering, take a look at our website or book a meeting with us.
Please do not file GitHub issues or post on our public forum for security vulnerabilities, as they are public!
Infisical takes security issues very seriously. If you have any concerns about Infisical or believe you have uncovered a vulnerability, please report it privately through our vulnerability disclosure policy at https://infisical.com/vulnerability-disclosure. Scope, safe harbour and disclosure terms are all set out there. See also SECURITY.md.
Please report any security problems to us before disclosing them publicly. For compliance documentation and security questionnaires, use security@infisical.com instead.
Whether it's big or small, we love contributions. Check out our guide to see how to get started.
Not sure where to get started? You can:
- Join our community, and ask us any questions there.
If you're reading this, there is a strong chance you like the products we created.
You might also make a great addition to our team. We're growing fast and would love for you to join us.
More in Secrets Management
Onetime SecretKeep passwords and other sensitive information out of your chat logs and inboxes.
One Time SecretOpen-source, self-hosted secret sharing: encrypted one-time links that vanish after viewing, with a REST API, SMTP delivery, and MFA, passkeys and SSO in full mode.
OpenBaoOpenBao is an open-source secrets manager forked from Vault, governed by the OpenSSF for self-hosted deployments.
OpenSignerOpen-source, self-hosted key management for embedded wallets using Shamir's Secret Sharing across Ethereum and Solana.
PadlocOpen-source, end-to-end encrypted password manager with shared vaults, MFA, a built-in authenticator and encrypted file storage; self-hosted via Docker Compose or Node.
phaseSelf-hosted secrets manager with end-to-end encryption for storing and deploying application secrets across environments.
shelveOpen-source, self-hosted secrets manager for dev teams: keep API keys and .env values in an encrypted vault with team roles, activity logging, scoped tokens and a CLI.
Sup3rS3cretMes5ageOpen-source, self-hosted service for one-time secret sharing via HashiCorp Vault. Auto-deletes after read, supports files, TTL, TLS, and CLI.
TeampassSelf-hosted, open-source team password vault on PHP/MySQL: folder and role access control, AES-256-GCM encryption, LDAP/OAuth2 SSO, TOTP and compliance reports.
vaultSelf-hosted, source-available secrets server that issues dynamic cloud and database credentials, offers encryption as a service, and logs every access for audit.
YopassOpen-source, self-hosted secret sharing: Yopass encrypts passwords and files in the browser with OpenPGP, so links carry the key and secrets expire or burn after reading.
Agent VaultSelf-hosted open-source credential broker for AI agents. Eliminates credential exfiltration risk by proxying requests and injecting credentials at runtime.

0 comments