wet-noon-14291
11/27/2021, 11:05 PMexport const myOutput = myConfig.get("secretProperty")
that the output isn't a secret? The behavior is strange since when you run the program it seems looks like it is a secret, but when you do pulumi stack output
it isn't. If I use getSecret
it works as intended. Why do we need both get
and getSecret
? I would be more than happy if pulumi just dealt with it so I don't have to think about if it is a secret or not when working with it .billowy-army-68599
11/27/2021, 11:10 PMwet-noon-14291
11/27/2021, 11:35 PMred-match-15116
11/28/2021, 3:31 AMgetSecret
. It's documented over in the secrets docs. So I think this would be considered an enhancement if you would like the pulumi just dealt with it so I don't have to think about if it is a secret or not
behavior.