How can I hide wrangler binding when deploy?

Sometimes, I want to share development status to team member, but npx wrangler deploy command keep printing my environment. I cannot find any related parameter at deploy command document tho, so need some help. It's very annoying when I have to deploy at VSCode with screen sharing, so I want to hide it - If it is possible, how can I do it?
Cloudflare Docs
Commands
Create, develop, and deploy your Cloudflare Workers with Wrangler commands.
No description
5 Replies
Walshy
Walshy2mo ago
Can you explain why you wish to hide this? Especially from your own team? Bindings are not sensitive, they live in wrangler.toml which is committed in git.
S̷̄k̷̎̈́ẏ̵̚ŵ̶͠ǒ̶l̵̓͝f̶̂4̴͘6
Hello, thanks for reply. I already know this is bad usage, but at the moment don't using CF Secret store, some of external service token is exposed at binding. I have to use token hard-coded at wrangler.jsonc, but it's at prototype so token and feature changed often, so it's hard to say good time to use secret store for now.
Walshy
Walshy2mo ago
You don't need to use secret store even, you can use .dev.vars + wrangler secret put for secrets Please never put them in wrangler toml haha
S̷̄k̷̎̈́ẏ̵̚ŵ̶͠ǒ̶l̵̓͝f̶̂4̴͘6
Oh, is there a another feature to store private environment? Didn't know that, thanks for advice.
Walshy
Walshy2mo ago
Cloudflare Docs
Environment variables
You can add environment variables, which are a type of binding, to attach text strings or JSON values to your Worker.

Did you find this page helpful?