Limits to Secrets?
I am designing a system using workers that will have multiple tenants. I want to store secrets per tenant. Are there any limits (e.g. size or # of secrets) to the secret store?
Also related: how does scaling work for the workers? I don't think I can have a dedicated worker for a tenant, right?
5 Replies
Are there any limits to the number of secrets that can be stored?
I guess you forgot to share the links
Oh, i just realised that we can't store secrets programatically from within the worker.
Is that the case?
https://developers.cloudflare.com/workers/configuration/secrets/#adding-secrets-to-your-project
No worries man, you just said "here are some common examples:" and I thought the links are missing
I think so, they're usually for api keys. You could try encrypting your user secrets and saving them to d1
Cloudflare API | Secrets Store
Interact with Cloudflare's products and services via the Cloudflare API