Prompt Buddy logoPrompt Buddy

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...

Import to Prompt Buddy

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

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/workers-vite-plugin-secrets-workflow-guide.mdDocumentation 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

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. 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