chamber icon indicating copy to clipboard operation
chamber copied to clipboard

Support writing secret values from stdin

Open dfuentes opened this issue 9 years ago • 2 comments

It would be nice to be able to write secrets using stdin, for example if you wanted to take file contents and write that as a secret with cat foo | chamber write service key.

dfuentes avatar Sep 13 '17 23:09 dfuentes

For anyone else curious, it appears chamber supports reading values from stdin, although this issue does not mention it. I tried the following and it works:

chamber write app version - < /etc/alpine-release

osterman avatar Jul 27 '18 01:07 osterman

Yeah, this ticket was closed when that support was added. It's in the readme (https://github.com/segmentio/chamber#writing-secrets), but is not very well explained in the online help chamber help write.

dfuentes avatar Jul 27 '18 01:07 dfuentes