03/02/2023, 5:27 AM
Hi, wondering if it's possible to get a pulumi secret out of the config when when not using
pulumi up
? The use case I have is wanting to get a secret that's in the pulumi config to use an playwright tests . But for the life of me can't get it working. when using
new pulumi.Config()
it seems to create a new config instead of loading an existing config? And I have no idea how to load the correct stack config programmatically (TypeScript) with code not run via
pulumi up
. I've spent the afternoon googling and read docs but havent gotten anywhere appreciate any help/guidance.