You can't use the API to decrypt secrets. Only the CLI will do that (since you can use the console, but a different secret provider).
You can however build your own API that uses the automation API to get secret values and use that
h
high-answer-18213
10/11/2021, 10:50 AM
I actually went through the cli source and followed the code path until i found what is was looking for. backend/httpstate/client/client.go:368 is exactly what i was looking for. Got it working 🙂 thanks anyway 🙂