<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>API Gateway on Chen Kai Blog</title><link>https://www.chenk.top/zh/tags/api-gateway/</link><description>Recent content in API Gateway on Chen Kai Blog</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Sun, 22 Mar 2026 09:00:00 +0000</lastBuildDate><atom:link href="https://www.chenk.top/zh/tags/api-gateway/index.xml" rel="self" type="application/rss+xml"/><item><title>Terraform 实战（六）：LLM Gateway 与密钥管理</title><link>https://www.chenk.top/zh/terraform-agents/06-llm-gateway-and-secrets/</link><pubDate>Sun, 22 Mar 2026 09:00:00 +0000</pubDate><guid>https://www.chenk.top/zh/terraform-agents/06-llm-gateway-and-secrets/</guid><description>&lt;p>我在许多尚未成熟的 Agent 架构中反复看到一个通病：每个 Agent 都在自己的 &lt;code>.env&lt;/code> 文件里存一份 &lt;code>OPENAI_API_KEY&lt;/code>。有时是同一个 key，有时各不相同，甚至还有同事在原型阶段留下的个人密钥。等到账单来了，没人说得清哪个 Agent 消耗了多少 token；而一旦密钥泄露（这几乎是必然的），你就得像打地鼠一样，在十几个 &lt;code>.env&lt;/code> 文件里来回折腾。&lt;/p></description></item></channel></rss>