configuration.md
| source_path | references/kv/configuration.md |
|---|---|
| source_sha256 | 2e37441f4f51ca04eeba85233f8c7878a0336bc11c4b928be5dc4b5736880a18 |
| source_url | https://github.com/cloudflare/skills/blob/47dfc2ce969bf62acf8bc231198ade4bb02712e0/skills/cloudflare/references/kv/configuration.md |
| supporting_skill_id | 40184 |
| upstream_revision | 47dfc2ce969bf62acf8bc231198ade4bb02712e0 |
KV Configuration
Read the setup guide for the target environment before creating resources or editing bindings.
| Task | Documentation |
|---|---|
| Create a namespace and connect a Worker | Get started and KV bindings |
| Configure staging and production namespaces | KV environments |
| Generate Worker environment and binding types | Workers TypeScript |
| Develop against local storage or a remote binding | KV local development and remote bindings |
| Manage namespaces, individual keys, and bulk files from the CLI | Wrangler KV commands |
| Manage KV from another service or SDK | KV REST API |
Choose the namespace, account, and environment deliberately. Local KV data is separate from remote data; a remote binding accesses the selected Cloudflare namespace even when Worker code runs locally. Check the command's local/remote options and environment selection before seeding or inspecting data. A separate preview namespace is not required simply to use local KV.
Use generated types for binding shapes. JSON type annotations do not validate stored data at runtime; validate application data when its source or schema requires it.
Children
No children yet.
Like how this is organised?
Build your own Memory tree on knowen.md: notes, decisions and tasks in one connected markdown graph, shared with your team and your AI agents.