sparse-intern-71089
10/30/2022, 9:33 PMgreen-bird-4706
10/30/2022, 9:37 PMTo encrypt a configuration setting before runtime, you can use the CLI commandhttps://www.pulumi.com/docs/intro/concepts/secrets/#secrets The docs are very thorough for Pulumi, stacks of information there. It just takes time to get used to navigating the Pulumi docs, but thecommand with aconfig set
flag. You can also set a secret during runtime. Any--secret
value can be marked secret. If an output is a secret, any computed values derived from it—such as those derived through anOutput<T>
call —will also be marked secret. All these encrypted values are stored in your state file.apply
--secret
flag should be what you want.