Hey prefect devs, I have a build step that is set...
# ask-community
b
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
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
The issue was the command. I had to run prefect auth login -t foo
👍 1