This message was deleted.
# azure
s
This message was deleted.
w
I thought that setting the
AdditionalSecretOutputs
would propagate when I later access the value.
t
You can mark it as secret when exporting
Copy code
let secretOutput = notSecretOutput.Apply(Output.CreateSecret)
w
thanks.
It wasn't that smooth with F# for some reason. I used
Copy code
let makeSecret = Func<string, Output<string>>(Output.CreateSecret)
    let adminPassword = containerRegistry.AdminPassword.Apply<string>(makeSecret)
then I outputted the secret.
t
I guess we could put this helper function into the standard library