My Worker isn't finding my secrets
# workers-help
u
as the title says the worker isn't finding my secret and I've tried global variables and I've used SECRET_STORAGE.get() neither time has it found my secrets. I haven't deployed the worker but the secret is shown when the command $ wrangler secret list is used. I attached a pic of my code.
k
Neither
SECRET_STORAGE.get()
or
await GLOBAL;
are how you access secrets in Cloudflare Workers
Where did you get those from?
Also,
u
from a google search
k
I'd recommend looking at
u
thanks