https://prefect.io logo
z

ZharkoC

07/11/2023, 12:46 AM
How can you run
prefect cloud login
with inline args? I've been trying it with this format and it's timing out.
prefect cloud login --key {key} --workspace {workspace}
c

Christopher Boyd

07/11/2023, 6:27 PM
Hi, that should be possible - https://docs.prefect.io/latest/cloud/cloud-quickstart/#log-into-prefect-cloud-from-a-terminal you can do
prefect cloud login -k <key> -w account/workspace
If it’s timing out in general, i’d ensure you can actually curl / test the API at all?
api.prefect.cloud