How to handle secrets in pulumi ? I am creating a ...
# typescript
r
How to handle secrets in pulumi ? I am creating a resource with username and password how can i secure them while checking into git ? I have jenkins pipeline which triggers pulumi Is it possible to refer jenkins credentials from pulumi ?
b
pulumi config set mysecret "super-secret-password" --secret
it will encrypt the value in your config as well as in the state
👍 1
l
It is also possible to refer to Jenkins credentials in Pulumi, as they can be put into the environment, and Pulumi programs can read that.
👍 1