https://pulumi.com logo
#esc
Title
# esc
p

prehistoric-kite-30979

02/15/2024, 10:53 AM
Hi we're trying to use esc in conjunction with the automation api (similar to https://pulumi-community.slack.com/archives/C0602S4P4T1/p1707159338847029) but it doesn't appear to be decrypting secrets?
e

enough-architect-32336

02/15/2024, 10:21 PM
Hello Liam! Can you give some more context, is it when you pulumi up that the secrets are not working?
p

prehistoric-kite-30979

02/15/2024, 10:26 PM
We're trying to retrieve via GetAllConfig in the ts auto api.
e

enough-architect-32336

02/16/2024, 12:20 AM
Can you an outline of your environment config and stack config?
r

red-match-15116

02/16/2024, 6:59 AM
Hey @prehistoric-kite-30979! This currently doesn't quite work as you would expect. There's an issue to introduce a flag to
pulumi config
that would allow opening the environment, which would then need to be absorbed into automation api to unlock the behavior you're describing. Currently, it's only possible to gain the decrypted value of the secret from within the pulumi program, but not from automation api.
p

prehistoric-kite-30979

02/16/2024, 9:37 AM
thanks
r

red-match-15116

02/20/2024, 11:22 PM
@prehistoric-kite-30979 this should be supported in the next release https://github.com/pulumi/pulumi/pull/15469