proud-pizza-80589
12/26/2020, 1:43 PMawait stack.setConfig("somesecret", { value: "s3cr3t", secret: true });
Is s3cr3t
in this case plain text or the encrypted value i get from a pulumi config set somesecret s3cr3t --secret
?lemon-agent-27707
12/28/2020, 6:24 PMstack.setConfig
takes a plaintext value and will encrypt it. So s3cr3t
will be stored encrypted, but available at runtime as the plaintext value s3cr3t
when retrieved via stack.getConfig