Mar 30, 2026
1 min read

Step 1: Clone the starter project

Step 1: Clone the starter project
Set the foundation with a ready-to-use project built for secure configuration workflows.

To focus on the secrets management workflow, you'll use a sample Worker that's designed to verify your secrets configuration. Start by cloning the repository:

The project contains a Worker with a /secrets endpoint that reports which secrets are configured without revealing their actual values. This makes it easy to verify that your integration is working at each step.

Here's the relevant code from src/index.js:

The Worker checks for nine different secrets representing common patterns in production applications, including API keys(both public and private), webhook signing secrets for verifying incoming requests, service tokens for internal authentication, error tracking DSNs, and a rotation version identifier for verifying that updates have propagated.

Throughout this tutorial, you'll use this project to pull secrets from Doppler for local development, sync them to Cloudflare for production, automate deployments with GitHub Actions, and practice rotating credentials without downtime.