https://pulumi.com logo
#general
Title
# general
p

powerful-fall-86307

03/17/2023, 8:46 AM
Hey all. What's the best way to add a multiline secret to the stack config? The
value:
prompt from the CLI only takes the first line when I paste in the multiline value, and then executes the remaining lines in the shell 😄 (on Windows)
e

echoing-dinner-19531

03/17/2023, 9:34 AM
pipe the value in as stdin, something like
Get-Content secret.txt | pulumi config set theSecret --secret
p

powerful-fall-86307

03/17/2023, 9:52 AM
Ah, perfect. Thanks 🙂