https://pulumi.com logo
o

orange-ghost-99337

01/13/2020, 10:42 PM
pulumi config set --secret --path sat-key.yellow "$(cat sat_key.pub)
An error occurred: bad flag syntax: -----BEGIN PUBLIC KEY----
w

white-balloon-205

01/13/2020, 11:03 PM
You likely want to pass this value in via
stdin
so that the shell doesn't try and parse it. See https://www.pulumi.com/docs/reference/cli/pulumi_config_set/:
If a value is not present on the command line, pulumi will prompt for the value. Multi-line values may be set by piping a file to standard in.
o

orange-ghost-99337

01/14/2020, 1:31 AM
@white-balloon-205 will check that. Thanks
2 Views