workers-sdk icon indicating copy to clipboard operation
workers-sdk copied to clipboard

🚀 Feature Request: Mass Secrets Management

Open Cherry opened this issue 3 years ago • 1 comments

This pairs with https://github.com/cloudflare/wrangler-action/issues/79.

It would be good to have a way to set mass secrets within wrangler, so within wrangler-action, you aren't met with repetitive output, which can look very much like an error to an unsuspecting user.

Given the TTY nature of wrangler secret put I'm not entirely sure how this could work, other than maybe some kind of wrangler secret mass-put 10 which prompts for key, then value, 10 times? Hopefully y'all have a better idea. 😅

Cherry avatar Aug 03 '22 20:08 Cherry

Thanks for the suggestion! I will put it up for discussion with the team 😄

JacobMGEvans avatar Aug 04 '22 15:08 JacobMGEvans

Considering an approach involving piping in a file.

JacobMGEvans avatar Aug 15 '22 15:08 JacobMGEvans