Is there a way to use a specific profile when you ...
# ask-community
n
Is there a way to use a specific profile when you use cloud login? I've created the profile locally, but when using git action to login on the same key workspace, i get errors because it's waiting for input to create a profile
1
m
Hey @Nic
prefect cloud login -k xxx_xxxxxxxxx
is expecting an interactive terminal which is why this error is getting thrown, you'll want to set the prefect api url prefect api key manually in this case
Copy code
prefect config set PREFECT_API_URL="<https://api.prefect.cloud/api/accounts/xxxxxxxxxxxxxxxxxxxxxxxxxxxx/workspaces/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>"

prefect config set PREFECT_API_KEY="api_keyxxxxxxxxxxxxxxxx"
❤️ 1