sparse-intern-71089
08/20/2020, 8:40 PMlittle-cartoon-10569
08/20/2020, 8:54 PMpulumi.secret
. I suppose some people want out dump the plaintext password to output so that it can be immediately changed, maybe? Not everyone stays abreast of the best infosec advice... 😞ancient-megabyte-79588
08/20/2020, 10:31 PMconst rabbitMqAdminPwd = pulumi.secret(accountPassword);
outputs["rabbitMqAdminPwd"] = rabbitMqAdminPwd;
I will try to wrap the whole resource creation in a secret, but I don't expect that to work. I don't want the actual object I'm using to be a secret.ancient-megabyte-79588
08/20/2020, 10:36 PMconst test = pulumi.secret(new random.RandomString({}).result);
faint-table-42725
08/20/2020, 10:48 PMresult
as a secret output: https://www.pulumi.com/docs/intro/concepts/programming-model/#additionalsecretoutputsancient-megabyte-79588
08/20/2020, 10:50 PMconst accountPassword = new random.RandomPassword("RabbitMqAdmin_password", {
length: 40,
special: true,
overrideSpecial: `_%@`
}, { additionalSecretOutputs:["result"] }).result;
I guess though that I would expect new random.RandomPassword()
to do that by default.