Hey all, very quick question. Are you able to ssec...
# typescript
a
Hey all, very quick question. Are you able to ssecurely expose a password as a stack output for another stack to use. We are using a microstack approach and I create a common db in our core code. I would like a secure encrypted way to share that admin password with a stack reference.
m
Probably the easiest way to do this is to add the secret output to an ESC environment using pulumi-stacks Pulumi ESC Provider | Pulumi Docs Then you can use that environment to configure any stacks that need to use the secret.
It's also possible to use stack references for this: https://www.pulumi.com/tutorials/stack-outputs-and-references/#using-stack-references , but that creates a tighter coupling between the stacks