Is there a way to explicitly mark an output as sec...
# dotnet
a
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
Output.CreateSecret("plainvalue")
or
existingOutput.Apply(Output.CreateSecret
. We should probably add an overload to accept an output directly in
CreateSecret
.