Manage account secrets

Last updated Oct 22, 2026 Secrets can be API tokens, public/private keys, authorization keys, passwords, or even code variables. The only limitation is that a secret must be a string that does not exceed 65,536 bytes.

Once a secret is added to the Secrets Store, it can no longer be decrypted or accessed via API or on the dashboard. Only the service associated with a given secret will be able to access it.

Limits

Customers who create a secrets store in the open beta can have up to 100 secrets per account. Also, there can only be one store per account.

Production secrets

If you use Wrangler, there is a difference between production secrets and secrets that are only created locally (without the --remote flag). The limit of 100 secrets per account only considers production secrets.

Local secrets are not encrypted

Secrets that you create locally (without the --remote flag) are stored unencrypted in your project's local data directory, which is .wrangler/state by default. Use test values for local development, and do not commit the local data directory to version control.

Resources

Was this helpful?

YesNo

On this page

Manage account secrets - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/secrets-store/manage-secrets/#page","headline":"Manage account secrets","description":"Learn about different operations to manage your secrets in Cloudflare Secrets Store.","url":"https://developers.cloudflare.com/secrets-store/manage-secrets/","inLanguage":"en","image":"https://developers.cloudflare.com/secrets-store/manage-secrets/og.png?v=5f48f27ba27a0ce2","dateModified":"2026-10-22","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: Create, update, duplicate, and delete secrets using the dashboard, API, or Wrangler. title: How to image: https://developers.cloudflare.com/secrets-store/manage-secrets/how-to/og.png?v=3aba431a8a421018


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/secrets-store/llms.txt
Use this file to discover all available pages before exploring further.