Hi we're trying to use esc in conjunction with the...
# esc
p
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
Hello Liam! Can you give some more context, is it when you pulumi up that the secrets are not working?
p
We're trying to retrieve via GetAllConfig in the ts auto api.
e
Can you an outline of your environment config and stack config?
r
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
thanks
r
@prehistoric-kite-30979 this should be supported in the next release https://github.com/pulumi/pulumi/pull/15469