Hey prefect devs,
I have a build step that is setting kv's via
prefect kv set
in a Docker image.
Is the only thing I need to do so that the container is authed with my cloud account ....
export PREFECT__CLOUD__AGENT__AUTH_TOKEN=foobar
I am getting the error:
prefect.utilities.exceptions.ClientError: Malformed response received from Cloud - please ensure that you have an API token properly configured.
z
Zach Angell
06/22/2021, 1:40 PM
Hey @Ben Muller, I think the issue here is an auth token has been set for the Agent, but the CLI is expecting an auth token set for your "user", not the agent. If you set
export PREFECT__CLOUD__AUTH_TOKEN=foobar
, the CLI should work
b
Ben Muller
06/22/2021, 3:19 PM
The issue was the command. I had to run prefect auth login -t foo
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.