https://pulumi.com logo
#dotnet
Title
a

adventurous-garage-59192

05/11/2020, 4:24 AM
Is there a way to explicitly mark an output as secret? I'm generating a connection string with
Output.Format
with a couple of sensitive values. In the old async stack system I used
Output.CreateSecret()
successfully, but I discovered in the new stack model that it wraps the output I give it, resulting in a signature of
Output<Output<string>>
, so I'm guessing it was never supposed to work that way.
t

tall-librarian-49374

05/11/2020, 3:46 PM
Output.CreateSecret("plainvalue")
or
existingOutput.Apply(Output.CreateSecret
. We should probably add an overload to accept an output directly in
CreateSecret
.