What's the proper way to set a value such as a sensitive database connection string as an exported value, yet it's a secret, so that it could be imported as a stack reference for another stack that needs to setup configs to this database.I'm using Go fyi.
5 months ago
if you mark it as a secret, it stays a secret through the flow. It'll be exported as
and you'll need the encryption key to decrypt it
if you're using the pulumi service this is transparent, if you're using OSS backends it's...hard