Skip to content
Cloudflare Docs

How to

Refer to the sections below to learn about common actions you might want to take when managing your data in Secrets Store.

You must have a Super Administrator or Secrets Store Admin role within your Cloudflare account.

Manage via Wrangler

Wrangler is a command-line interface (CLI) that allows you to manage Cloudflare Workers projects. Refer to Wrangler commands for guidance on how to use it with Secrets Store.

Create a secret

  1. Log in to the Cloudflare dashboard and select your account.
  2. Go to Secrets Store and select Create secret.
  3. Fill in the required fields. Note that, once the secret is saved, the secret value will no longer be available for viewing.
  4. (Optional) Select Add additional secret to create more than one secret at a time.
  5. Select Save to confirm.

Duplicate a secret

Duplicate a secret to keep the same secret value but change name, scope, or comments.

  1. Log in to the Cloudflare dashboard and select your account.
  2. Go to Secrets Store.
  3. Search for the secret you would like to duplicate within the existing secrets list.
  4. Select the three dots next to the secret and choose Duplicate.
  5. Edit the Secret name, Permission scope, or Comment, according to your needs.
  6. Select Save to confirm.

Edit a secret

Edit a secret to replace an existing value with a new one.

You can also edit the secret Permission scope and Comment.

  1. Log in to the Cloudflare dashboard and select your account.
  2. Go to Secrets Store.
  3. Search for the secret you would like to edit within the existing secrets list.
  4. Select the three dots next to the secret and choose Edit.
  5. Edit the available fields according to your needs and select Save to confirm.

Delete a secret

  1. Log in to the Cloudflare dashboard and select your account.
  2. Go to Secrets Store.
  3. Search for the secret you would like to delete within the existing secrets list.
  4. Select the three dots next to the secret and choose Delete.
  5. Type in the secret name and select Delete to confirm.