From b5fd06d99b3ce97a37aab7cb83d3a663f77294b7 Mon Sep 17 00:00:00 2001 From: whilefoo Date: Thu, 29 Feb 2024 22:50:00 +0100 Subject: [PATCH] fix: add env param --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4704ef8..7d67b11 100644 --- a/README.md +++ b/README.md @@ -57,10 +57,10 @@ Organization permissions: 4. To create a KV namespace run `npx wrangler kv:namespace create PLUGIN_CHAIN_STATE`. Copy the ID to `wrangler.toml` under `[env.dev]`. -5. You can add (env) secrets using `npx wrangler secret put `. To add private key run: (replace YOUR_PRIVATE_KEY.PEM with the path to your actual PEM file) +5. You can add (env) secrets using `npx wrangler secret put --env dev`. To add private key run: (replace YOUR_PRIVATE_KEY.PEM with the path to your actual PEM file) ```sh -echo $(openssl pkcs8 -topk8 -inform PEM -outform PEM -nocrypt -in YOUR_PRIVATE_KEY.PEM) | npx wrangler secret put PRIVATE_KEY +echo $(openssl pkcs8 -topk8 -inform PEM -outform PEM -nocrypt -in YOUR_PRIVATE_KEY.PEM) | npx wrangler secret put PRIVATE_KEY --env dev ``` 6. To deploy the kernel run `bun run deploy-dev`.