← Public packages
@kentcdodds/cloudflare-connect-pse-hyperframes
I Built Your Personal Software Ecosystem: Kent C. Dodds's Cloudflare Connect 2026 talk deck, built with HyperFrames. How Kody gives every user one of everything on Cloudflare.
Files
<section data-id="secrets" data-label="Agents only name the credential" class="slide">
<style>
.secrets-code { font-size: 44px; line-height: 1.42; padding: 48px 64px; }
</style>
<h2 data-enter>Agents only name the credential</h2>
<div class="center-code" data-enter>
<pre class="code secrets-code"><span class="k">import</span> { credential } <span class="k">from</span> <span class="s">'kody:runtime'</span>
<span class="k">export default async function</span> <span class="f">main</span>() {
<span class="k">const</span> github = <span class="k">await</span> <span class="hl"><span class="f">credential</span>(<span class="s">'github'</span>)</span>
<span class="k">const</span> response = <span class="k">await</span> github.<span class="f">fetch</span>(
<span class="s">'https://api.github.com/user/repos?per_page=5'</span>,
)
<span class="k">return</span> response.<span class="f">json</span>()
}</pre>
</div>
<p class="brand">kody.codes</p>
<aside class="notes">
Agents only name the credential. credential('github') hands the sandbox a client that
holds an opaque handle, never the value. The credential decides where the value goes: its
hosts, and its inject rule, Authorization Bearer by default. There is no secret_get. This
is stealable even if you never use Kody.
</aside>
</section>