https://pulumi.com logo
p

proud-pizza-80589

12/26/2020, 1:43 PM
Additionally:
await 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
?
l

lemon-agent-27707

12/28/2020, 6:24 PM
stack.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