How can I access the encrypted build variables inside the shell?
When encrypting a build variable in the Cloudflare Worker build function, the build command will return an empty string when attempting to reference the build variable.
4 Replies
That doesn't sound right, can you give me a build ID?
It'll be the UUID at the end of the URL -
/workers/services/view/{worker}/production/builds/{buildId}
@Walshy | Out of office
Thanks for the reply.
Here is the build ID.
49a5582d-8776-424b-8185-8b62d83bbb44
However, I have created wrangler.toml from template and am running shell. When I try to access the encrypted variables from inside that shell, it comes up empty.you're making a new shell session inside the build container?
Yes.