Netlify
Agent 怎样通过 KeyKeeper 拿到 Netlify 的 key,在 app.netlify.com 该选什么,KeyKeeper 怎么验证。
| 模板 id | netlify |
|---|---|
| 字段 | netlify-auth-token → NETLIFY_AUTH_TOKEN · 密钥 |
| 还有 | netlify-site-id → NETLIFY_SITE_ID · 明文,需你确认,可选 |
| key 长什么样 | 创建时只显示一次 |
| 创建页面 | app.netlify.com |
| KeyKeeper 的验证 | GET https://api.netlify.com/api/v1/user——reads the authenticated user |
| 模板核实日期 | 2026-09-15 |
Agent 做什么
keykeeper providers show netlify
keykeeper save --provider netlify --from-clipboard --create --purpose "这个任务是做什么的"
keykeeper run -c netlify -- <你的命令>--provider netlify 会补上凭据 ID 和字段名。这些环境变量就是 Netlify 自家工具读的那个,不需要任何映射。
只有你能做的
该选什么
Personal tokens are account-wide. Set an expiration, do not opt into SAML team access unless the task needs that team, and prefer OAuth for a public integration.
Agent 被告知的是同一件事。它替你打开页面、说明该选什么;它从不替你登录、过 2FA 或付费。
KeyKeeper 检查什么
- 写入前: 值必须像一把 Netlify 的 key(没有形状规则)。贴错了会在存入之前被拒绝,并告诉 Agent 原因——不含值。
- 保存后: KeyKeeper 自己发送
GET https://api.netlify.com/api/v1/user,key 放在Authorization请求头里(reads the authenticated user)。Agent 收到的是「接受」「拒绝」或「联系不上」——从不是值。
轮换与过期
No universal expiry policy was confirmed for this credential type. Record the date shown by the provider, or leave it unknown. 在 app.netlify.com 轮换或撤销。
Neon · Organization or project API Key
Agent 怎样通过 KeyKeeper 拿到 Neon · Organization or project API Key 的 key,在 console.neon.tech 该选什么,KeyKeeper 怎么验证。
Azure Entra service principal · Client secret
Agent 怎样通过 KeyKeeper 拿到 Azure Entra service principal · Client secret 的 key,在 portal.azure.com 该选什么,KeyKeeper 怎么验证。