# Phase > Phase is an open-source secrets manager for engineering teams and AI agents. It stores application secrets and environment variables end-to-end encrypted, injects them into processes at runtime, syncs them to CI/CD and cloud platforms, and issues short-lived credentials to workloads and agents. Run it on Phase Cloud or self-host it on Docker, Kubernetes, any cloud, or fully air-gapped. Phase is built by Phi Security Inc. The console is open source (MIT outside the `ee/` directory), independently audited under SOC 2 Type 2, and penetration tested by Oneleet. Apps are end-to-end encrypted by default; server-side encryption is an explicit per-app opt-in, needed for third-party syncs and the REST API. Every phase.dev page listed here is also available as Markdown: request it with an `Accept: text/markdown` header. Documentation pages on docs.phase.dev are linked as Markdown directly. ## Start here - [Phase](https://phase.dev/): what Phase is, how agents and teams use it, the encryption model and deployment options. - [Pricing](https://phase.dev/pricing/): Free, Pro and Enterprise plans for Phase Cloud and for self-hosted deployments, with per-plan limits. - [Security](https://phase.dev/security/): cryptography (XChaCha20-Poly1305, X25519, Ed25519, Argon2id), end-to-end vs server-side encryption, network access policies, audits and compliance. - [Integrations](https://phase.dev/integrations/): CI/CD, cloud, Kubernetes, Terraform, framework and AI-agent integrations. ## Documentation - [Documentation index](https://docs.phase.dev/llms.txt): every docs page, each available as Markdown. - [Quickstart](https://docs.phase.dev/quickstart.md): create an account and an app, install the CLI, import a `.env` file and inject secrets at runtime. - [CLI install](https://docs.phase.dev/cli/install.md): Homebrew, Linux install script, Scoop, Windows, Nix and Docker. - [CLI commands](https://docs.phase.dev/cli/commands.md): every command and flag, including `phase run`, `phase secrets`, `phase auth` and `phase ai`. - [REST API](https://docs.phase.dev/public-api.md): authentication, base URLs and errors, with per-resource references for secrets, apps, environments, members, service accounts, teams and roles. - [Kubernetes operator](https://docs.phase.dev/integrations/platforms/kubernetes.md): Helm install, the `PhaseSecret` custom resource and auto-redeploy. - [Self-hosting](https://docs.phase.dev/self-hosting.md): Docker Compose, Kubernetes, AWS, GCP, Azure, Railway, DigitalOcean and Raspberry Pi guides. ## AI agents - [Claude Code](https://docs.phase.dev/integrations/agents/claude-code.md): `phase ai enable` installs a skill so Claude Code can run commands with secrets injected while secret values stay masked. - [Cursor](https://docs.phase.dev/integrations/agents/cursor.md), [Codex](https://docs.phase.dev/integrations/agents/codex.md), [OpenCode](https://docs.phase.dev/integrations/agents/opencode.md), [VS Code Copilot](https://docs.phase.dev/integrations/agents/vscode-copilot.md): the same integration for other agents. ## How an agent can act on Phase - CLI: `brew tap phasehq/cli && brew trust phasehq/cli && brew install phase` on macOS, `curl -fsSL https://pkg.phase.dev/install.sh | sh` on Linux. `phase run npm run dev` starts a process with the `development` environment's secrets as environment variables. - CI and machines: authenticate the CLI with a service account token in `PHASE_SERVICE_TOKEN` (add `PHASE_HOST` for self-hosted instances), or with AWS IAM or Azure identity via `phase auth --mode aws-iam` or `phase auth --mode azure`. - REST API: `https://api.phase.dev/v1/`, with the header `Authorization: Bearer ServiceAccount ` (or `Bearer User ` for a personal access token). The app must have server-side encryption enabled. - SDKs: Node.js, Python and Go. - Machine-readable API catalog (RFC 9727): https://phase.dev/.well-known/api-catalog ## Changelog and blog - [Changelog](https://phase.dev/changelog/): product updates, newest first. - [Blog](https://phase.dev/blog/): engineering and product posts. - [What is secrets management?](https://phase.dev/blog/what-is-secrets-management/): definitions, the risks of `.env` sprawl, and how secrets managers work. - [Docker Compose secrets](https://phase.dev/blog/docker-compose-secrets/): file-based Compose secrets and runtime injection. - [Updating public Next.js environment variables without rebuilds](https://phase.dev/blog/nextjs-public-runtime-variables/) ## Optional - [Terms](https://phase.dev/legal/terms/), [Privacy](https://phase.dev/legal/privacy/), [DPA](https://phase.dev/legal/dpa/) - [Brand assets](https://phase.dev/brand/) - [Careers](https://phase.dev/careers/)