https://pulumi.com logo
c

creamy-jelly-91590

05/19/2019, 10:29 AM
Does Pulumi have a Vault Provider?
s

stocky-spoon-28903

05/19/2019, 10:58 AM
Not yet - though if you want to read secrets you can of course use a node library for it without specifically needing a provider!
c

creamy-jelly-91590

05/19/2019, 11:04 AM
Yeah that's what I figured the answer would be 😄
s

stocky-spoon-28903

05/19/2019, 11:05 AM
What operations do you need?
c

creamy-jelly-91590

05/19/2019, 11:08 AM
Well yeah just reading secrets
Actually maybe also writing them
Like if I provision a CloudSQL instance I'd want to store the credentials in Vault
s

stocky-spoon-28903

05/19/2019, 11:09 AM
So you could do that in the
apply
of the output
And because a valid part of the sum type of
Input<T>
is
Promise<T>
the secrets you read will even work with other resources without
await
etc!
c

creamy-jelly-91590

05/19/2019, 11:18 AM
Does
.apply
only run once? If I do
pulumi up
multiple times where there are no changes but I run it anyway, would the
apply
not run and therefore keep writing to Vault?
s

stocky-spoon-28903

05/19/2019, 11:20 AM
No, the apply will run every time
Vault has compare and swap operations though
c

creamy-jelly-91590

05/19/2019, 11:27 AM
Ah