Secrets Store
A Cloudflare Secret Store is a secure way to manage and distribute Secrets in a centralized location.
Basic Usage
Section titled “Basic Usage”import { Secret, SecretsStore } from "alchemy/cloudflare";
const store = await SecretsStore("my-store");
Now, you can create a Secret in this Store:
await Secret("my-secret", { store, value: process.env.MY_SECRET,});