From 855e1384536a3919f5d9267e6efc56d69dc5701d Mon Sep 17 00:00:00 2001 From: wighawag Date: Fri, 30 Sep 2022 12:43:38 +0100 Subject: [PATCH] README --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index d42c512..080d0ef 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,15 @@ # ECDSA secp256k1 authenticated DB running on Cloudflare workers [![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button?paid=true)](https://deploy.workers.cloudflare.com/?url=https://github.com/wighawag/secp256k1-db&paid=true) + + +### getting keys + +`wrangler kv:key list --binding=PRIVATE_STORE` + + +### deleting keys : + +replace `"name"` with `"key"` and add `,"value": ""` from the json file generated by `getting keys:` and then execute: + +`wrangler kv:bulk delete --binding=PRIVATE_STORE keys.json`