cloudflare · Cloudflare Workers Docs
Workers Secrets
How to manage sensitive information like API keys and auth tokens in a Cloudflare Workers project using the Vite plugin, including setting secrets via the dashboard, Wrangler CLI, or .dev.vars files for local developm...
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Workers Secrets
How to manage sensitive information like API keys and auth tokens in a Cloudflare Workers project using the Vite plugin, including setting secrets via the dashboard, Wrangler CLI, or .dev.vars files for local developm...
When To Use
Use when you need to configure sensitive credentials for local development using .dev.vars files or deploy secrets to a live Worker environment.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/workers-vite-plugin-secrets-workflow-guide.md | Documentation regarding the use of secrets within the Cloudflare Workers Vite plugin for managing sensitive information like API keys. | Questions about documentation regarding the use of secrets within the Cloudflare Workers Vite plugin for managing sensitive informati... |
What This Skill Covers
- Secrets are typically used for storing sensitive information such as API keys and auth tokens. For deployed Workers, they are set via the dashboard or Wrangl...
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://developers.cloudflare.com/workers/vite-plugin/reference/secrets/index.md
