Is it possible to use the automation api to read c...
# automation-api
p
Is it possible to use the automation api to read config that is encrypted?
Copy code
await (await LocalWorkspace.createOrSelectStack({ stackName: 'staging', workDir: infraDir })).getAllConfig()
Throws an error:
Copy code
stderr: error: could not decrypt configuration value: [400] Message authentication failed
afaict it should be using my pulumi access token which does have permissions to read the secret
ah, I was being dumb and not specify my org 🙂