---
title: "面向 API 密钥、SSH 密钥和代理凭证的 Infisical 替代方案"
description: "Clavitor 是一个托管密钥管理器，其服务器无法解密您的凭据字段，支持硬件密钥解锁、按代理划分的受限访问、注入凭证的代理和审计日志。"
lang: zh
url: https://clavitor.ai/zh/infisical-alternative
markdown: https://clavitor.ai/zh/infisical-alternative.md
translation_of: https://clavitor.ai/en/infisical-alternative.md
authoritative: false
publisher: Clavitor LLC
---

> This is the Chinese translation of [An Infisical alternative for API keys, SSH keys and agent credentials](https://clavitor.ai/en/infisical-alternative.md). The original English text is authoritative; where the two differ, the English version prevails.

# Infisical 替代方案: 一个服务器无法读取您凭据的密钥管理器。

Clavitor 将您的 API 密钥、SSH 密钥、令牌和密码保存在一个加密保管库中，只向每个人、每个脚本和每个 AI 代理提供其权限范围内的内容，并记录每一次读取。我们为您运行它，覆盖 26 个区域。

## 它替代 Infisical 的地方: 您会用 Infisical 做什么，以及 Clavitor 如何实现。

- **代码在运行时需要的密钥。** 一次 CLI 调用即可获取一个值、填充配置模板，或以真实值启动您的应用。您的 `.env` 文件保存的是类似 `clavitor://Stripe/key` 的指针，而不是密钥本身。
- **代理必须使用但不应读取的密钥。** 内置的 HTTPS 代理会在请求发出时注入凭证。代理只能看到引用。
- **每个代理或脚本拥有独立身份。** 每个客户端都有自己的令牌、自己可读取的条目列表，以及自己的读取限额。
- **每一次读取都有记录。** 审计日志显示谁在何时读取了什么。
- **人员和机器在同一个保管库。** 同一个保管库存放您团队登录所用的密码和您脚本所用的密钥。

```
# A script gets its secret at runtime. Nothing is stored in the repo.

$ clavitor-cli run --env-file .env -- ./server
```

[开发者：使用密钥而无需写入文件](https://clavitor.ai/zh/developers)

## 它的不同之处: 逐项对比。

| | Clavitor | Infisical |
|---|---|---|
| 存储您凭证的服务器无法解密它们 | ✓ ¹ | — ² |
| 逐字段加密层级：您的代理读取的是 API 密钥，而不是同一条目中的银行卡信息 | ✓ | n/d |
| 由硬件密钥（WebAuthn PRF）解锁 | ✓ | — ³ |
| 自带可注入凭证的 HTTPS 代理 | ✓ | ✓ ⁴ |
| 按身份限定访问范围 | ✓ | ✓ ⁵ |
| 每次读取的审计记录 | ✓ | ✓ ⁶ |
| 自动轮换密钥 | 计划中 | ✓ |
| 使用永不离开服务的密钥进行加密、解密和签名调用 | — | ~ ⁷ |
| 托管式，您无需运维任何东西 | ✓ | ✓ |
| 在您自己的硬件上运行 | 企业版 ⁸ | ✓ |
| 开源 | — | ~ ⁹ |

✓ 是 · ~ 部分 · — 否 · n/d 供应商未提供文档。已于 2026 年 11 月 24 日对照 Infisical 官方文档核实；来源列于下方。

1. 凭证和身份字段。标题及其他保管库级字段使用服务器持有的密钥进行静态加密。
2. Infisical 的服务器使用自己的密钥解密所请求的数据（AES-256-GCM，密钥由根密钥封装）。外部 KMS 可以保存封装密钥；服务器仍会使用数据密钥。Infisical 并未将该产品描述为零知识。
3. 通行密钥可作为登录选项（MFA）。用于解密的密钥属于服务器（注 2），因此您的任何硬件密钥都无法解锁数据。
4. Infisical 的 Agent Vault 会将真实凭证添加到代理的请求中，因此代理永远不会看到这些凭证。
5. 具有角色的机器身份，作用域限定为项目、环境和密钥路径。
6. 读取会被记录，且在 Pro、Advanced 和 Enterprise 计划中无法关闭该日志；保留期限取决于计划。
7. Infisical KMS 提供加密、解密、签名和验证，应用程序永远不会看到密钥。密钥能否存放在硬件模块中，该页面未作说明。
8. 仅限 Enterprise：在客户自有的专用硬件上，使用我们的安装程序，按需提供。
9. `ee/` 文件夹之外的所有内容均采用 MIT 许可；`ee/` 文件夹采用单独的许可。

**来源**（阅读于 2026 年 11 月 24 日）

- Infisical：[数据安全保障方式](https://infisical.com/docs/internals/security) · [审计日志](https://infisical.com/docs/documentation/platform/audit-logs) · [机器身份](https://infisical.com/docs/documentation/platform/identities/machine-identities) · [密钥轮换](https://infisical.com/docs/documentation/platform/secret-rotation/overview) · [KMS](https://infisical.com/docs/documentation/platform/kms/overview) · [自托管](https://infisical.com/docs/self-hosting/overview) · [许可](https://raw.githubusercontent.com/Infisical/infisical/main/LICENSE) · [定价](https://infisical.com/pricing)

## Infisical 更适合的场景: Clavitor 不做的事情。

Infisical 可以在您自己的服务器上运行（Docker、Kubernetes、Linux 软件包），其核心是开源的。Clavitor 是托管的；在您自己的专用硬件上运行属于我们与您协商安排的企业版方案。

Infisical 目前可以按计划轮换数据库和云提供商的凭证，并提供带租约的动态密钥。在 Clavitor 中，自动轮换已在计划中，目前需要您自行操作。Infisical 还在同一平台上涵盖证书、密钥扫描和对服务器的特权访问，并提供可用于加密和解密的 KMS。Clavitor 是一个用于保管您现有密钥的保管库，而不是密钥管理服务。

如果您想要的是一个无法读取其存储的凭据字段的服务器，由硬件密钥解锁，并且您的代理只被授权访问其所需内容，这正是 Clavitor 的用途。

## 用您自己的密钥试试。

免费开始，可创建 10 个条目。全层级均提供完整加密，无需信用卡。
[立即开始](https://clavitor.ai/zh/checkout)
[查看完整对比 →](https://clavitor.ai/zh/compare)
