Repository navigation
Support stdin and hidden-prompt input for Worker secrets #764
workers-devprod
started this conversation in
Feature Requests
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.
Moved from #150. Originally opened by tonydehnke on 2026-10-01.
Request
Please support reading Worker secret values from stdin and through a hidden interactive prompt, with secret values redacted from normal and dry-run output.
Current behavior
In cf 1.0.0-beta.9,
cf workers secrets update --helpoffers--text,--key-base64, and--body, but no documented stdin or hidden-prompt input. Passing a real secret as a command argument can expose it through process inspection, shell history, or agent command transcripts.Suggested interface
For example, a
--text-stdinoption or a hidden prompt when the value is omitted, plus stdin JSON input for bulk secret updates. Input should not be echoed or included in error/debug/dry-run output. EOF or empty input should fail clearly unless an empty value is explicitly requested.This would let agents and automation read values from an existing credential store and pipe them directly into cf without placing the value in arguments or writing a temporary plaintext file.
Related: #103 covers output redaction. This request adds the secure input side; it does not request broader permissions or a change to authentication. No real credentials are included in this report.
All reactions