Using CF Secrets Store (account wide) with Hono / not Worker specific #4566
Unanswered
nikeshhajari
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to retrieve a secret from Cloudflare Secret Store, but I'm not sure if the functionality is supported or doing something wrong.
I get the error
TypeError: Failed to execute 'get' on 'Fetcher': parameter 1 is not of type 'string'.I have an Cloudflare Secret in the Secret Store bound to my worker called "ACCOUNT_ID" (the store name is called "XREF_ACCOUNT_ID".
I followed the example from the bindings page - but nothing is returned. For comparison I also setup a "secret_text" that is bound to the worker directly.
Beta Was this translation helpful? Give feedback.
All reactions