fast-rain-29589
11/18/2021, 1:39 AMagreeable-eye-87399
11/18/2021, 5:37 AMfast-rain-29589
11/19/2021, 12:51 AMgetSecret
and requireSecret
to read secrets, which we’ve used on a few projects. Then there’s pulumi.secret
which we haven’t used before (I don’t think), but where my assumption from the context is that we would use that to encrypt something in the stack’s output.
The context for what we’re doing is to use the automation API to spin up some stuff from a server. But before running Stack.up()
we need to generate and set some secrets programmatically. I see there is a Stack.setConfig
method, which I was kinda hoping would have parity with the pulumi config set <value> --secret
command, but doesn’t seem to have the equivalent to the --secret
flag?
I’m just a little confused about how all of that works.