Error when trying to add a secret using wrangler
See original GitHub issuewrangler secret put PRIVATE_KEY
Yields;
⛅️ wrangler 2.0.3
-------------------
✘ [ERROR] Missing script name
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Unable to set secrets on a new environment, which causes ...
Workaround steps: Create a new worker in the web UI with the same name as the worker you are trying to create. Run...
Read more >Secrets undefined errors (solved) - Workers
Wrangler publish throws this error: Error: Something went wrong with the request to Cloudflare… Uncaught ReferenceError: OAUTH0SECRET is not ...
Read more >AWS Wrangler error with establishing engine connection in ...
I have been using AWS Secrets Manager with no issues on Pycharm 2020.2.3. The problems with AWS Wrangler however are listed below: ...
Read more >Troubleshoot issues related to Secrets Manager secrets in ECS
When I try to place a task that uses AWS Secrets Manager secrets in ... AccessDenied error on Amazon Elastic Compute Cloud (Amazon...
Read more >Getting started with Fauna and Cloudflare Workers
To do that use the following command: wrangler secret put FAUNA_SECRET. After running this command, paste the Fauna server secret you ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
secrets have to be associated with a Worker. This is usually read from a
wrangler.toml
file in a project (which wrangler will look for either in the directory you call it, or any parent directory). Like @ecchochan pointed out, you can also pass a path to a custom config file), or can be explicitly passed with--name <worker name>
.@allsey87 - created an issue to track that https://github.com/cloudflare/cloudflare-docs/issues/4892. I am sure that a PR would be welcome.