How can I login with `prefect cloud login` within ...
# ask-community
l
How can I login with
prefect cloud login
within CI if there are interactive results for login? Every time I try to login I am not met with exceptions due to having to type responses to various questions
First it was selecting a workspace, which can be solved with a flag
-w
but now it is selecting a profile, which cannot be overridden in the CI
r
you dont need to login, just set these two vars prefect config set PREFECT_API_KEY=${{ secrets.PREFECT_API_KEY }} prefect config set PREFECT_API_URL=${{ secrets.PREFECT_API_KEY }}