登录 永久免费 立即开始

集成指南

clavitor + OpenAI Codex

Give your Codex agent access to credentials and 2FA codes — without exposing card numbers, passports, or recovery codes.

What your agent sees

共享字段

Your agent reads these to help you code, deploy, and authenticate.

  • API keys (GitHub, AWS, Stripe, OpenAI...)
  • SSH 主机凭证
  • 数据库连接字符串
  • TOTP 种子——按需获取实时双因素认证码
  • 服务账户密码

What your agent never sees

个人字段

使用您的指纹、面容或安全密钥在客户端进行加密。服务器仅存储密文。无密钥,则无法访问。

  • 信用卡号及 CVV
  • 护照及政府身份证件
  • 恢复码及助记词
  • 社会安全号码
  • 银行账户详情

设置

Create an agent, initialize the CLI on the machine where Codex runs.

1. 创建 Agent

Open your vault -> Agents -> Create. Name it "Codex" and choose which entries it can access. Copy the setup token.

2. 初始化 CLI

$ echo "$CLAVITOR_TOKEN" | clavitor-cli init

3. Run with the proxy

Point Codex at the Clavitor proxy. Credentials are injected into API calls transparently — no keys in the environment.

$ export HTTPS_PROXY=http://localhost:1983
$ codex

CLI and proxy — by design, no REST or MCP

The agent surface is capability only, never enumeration. Codex fetches credentials by name through the CLI or transparently through the HTTPS proxy. There is no agent-facing list, search, browse, or discover endpoint — that's a deliberate architectural choice, not a missing feature.

CLI — one value at a time

$ clavitor-cli get "GitHub" --field password
$ clavitor-cli totp "GitHub"
$ clavitor-cli render app.config.json

Proxy — transparent injection

$ export HTTPS_PROXY=http://localhost:1983
$ curl -H "Authorization: Bearer clavitor://OpenAI/key" \
    https://api.openai.com/v1/models

One vault, multiple agents

Running agents on different projects? Create a separate agent for each.

Work agent

Scoped to GitHub, AWS, Jira, and Slack credentials

Personal agent

Scoped to email, social media, and cloud storage

Deploy agent

Scoped to SSH keys, database creds, and API tokens

所有访问操作均会被记录

The audit log records which agent accessed which credential, when, and from where.

# TIME                 ACTION  ENTRY               ACTOR
2026-03-08 10:23:14  read    github.com          cli:codex
2026-03-08 10:23:15  totp    github.com          cli:codex
2026-03-08 11:45:02  read    openai-prod         proxy:codex
2026-03-08 14:12:33  read    aws-production      cli:deploy-agent