If I want to use data from a pulumi config file in...
# general
m
If I want to use data from a pulumi config file in another script (something that seeds a database) - all I want to do is decrypt the values, can I do that?
p
not sure if that’s gonna help you but you can get the values (including secrets) using cmd line:
Copy code
pulumi config get <key>
m
That's an interesting idea...
r
You might also be able to use automation api here
what language are you using?
https://github.com/pulumi/automation-api-examples/blob/main/python/database_migration might have some ideas for what you're doing... the example is available in the other languages as well
m
typescript
r
m
Hey, just wanted to say thanks, this was exactly what I needed
r
Nice, that's awesome!