Baya
CDCloudflare Developers
•Created by Baya on 8/30/2023 in #workers-help
durable objects for secret storage
Thanks. That is a better approach from what I planned. 🙂
8 replies
CDCloudflare Developers
•Created by Baya on 8/30/2023 in #workers-help
durable objects for secret storage
I am building a web app that stores third-party access tokens per a user account. I am using "Pages" to render the user's frontend - I use the access tokens to pull some user specific data from the third-party server (for the frontend). I am using KV, DO and R2 to store other non-sensitiev user data. In another topic, does number of page functions count as workers? 🙂
8 replies
CDCloudflare Developers
•Created by Baya on 8/30/2023 in #workers-help
durable objects for secret storage
The number of my secret variables exceeds the limit.
8 replies
CDCloudflare Developers
•Created by cyzyvos on 8/30/2023 in #workers-help
Is it possible to upload a worker script (w/ ESM syntax) using the API?
It is possible. I upload workers with multiple modules using the API. I define the modules as separate mutipart/form-data components, define the form boundary manually, manually combine the modules as multipart data with the proper heading for each. You will also need to include a meta-data defining the name of your main module and bindings. It appears the documentation has limited info; I figured it with some exprimentation.
7 replies