https://pulumi.com logo
#typescript
Title
# typescript
r

refined-terabyte-65361

09/21/2021, 11:26 PM
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

billowy-army-68599

09/21/2021, 11:28 PM
pulumi config set mysecret "super-secret-password" --secret
it will encrypt the value in your config as well as in the state
👍 1
l

little-cartoon-10569

09/21/2021, 11:45 PM
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