List key and value of Cloudflare Workers KV NAMESPACE
The Workers includes limited KV Usage. Listing value will cause a lot of read usage and list usage.
You should ensure that you are aware of this, and it might be a good idea to add validation before the operation.
-
create a worker
-
paste the code from
index.js
-
set KV database binding
-
create records in KV database
-
set route for
*.example.com
-
create DNS record for
*.example.com
MIT