Jan Domanski
09/22/2022, 2:18 PMprefect cloud login --workspace my-account/my-workspace --key ....
Creating a profile for this Prefect Cloud login. Please specify a profile name: default
Profile 'default' already exists.
I haven’t expected to be prompted about anything, it’s impossible for me to respond to the prompt. Is there another way to provide the key? An ENV var?
Is there a way to “purge” the prefect config to be able to login without the prompt complainingChristopher Boyd
09/22/2022, 2:20 PMChris Gunderson
09/22/2022, 2:20 PM# set prefect cloud defaults
RUN . $VENV_PATH/bin/activate
RUN /bin/sh -c "prefect config set PREFECT_API_URL=$(cat ./api_url.txt)"
RUN /bin/sh -c "prefect config set PREFECT_API_KEY=$(cat ./api_key.txt)"
Christopher Boyd
09/22/2022, 2:21 PMJan Domanski
09/22/2022, 2:48 PMChristopher Boyd
09/22/2022, 6:16 PMJan Domanski
09/26/2022, 7:27 AMprefect config set PREFECT_API_KEY=***
Set 'PREFECT_API_KEY' to '***'.
Updated profile 'default'.
However, i get nothing when I ask for my workqueues
prefect work-queue ls
Work Queues
┏━━━━━━┳━━━━┳━━━━━━━━━━━━━━━━━━━┓
┃ Name ┃ ID ┃ Concurrency Limit ┃
┡━━━━━━╇━━━━╇━━━━━━━━━━━━━━━━━━━┩
└──────┴────┴───────────────────┘
(**) denotes a paused queue
Normally, i’d expect to see three work queues here. Is it confused and using some other profile other than ‘default’?