I’m trying to build an AzDo pipeline for our Prefe...
# ask-community
s
I’m trying to build an AzDo pipeline for our Prefect code. To login to the Prefect cloud, the command
prefect cloud login -k *** -w myaccount/test
will ask for a profile name. Is there a way to pass the profile name in the parameters?
a
No, but you can skip this setp by first setting your profile and then setting the values manually:
Copy code
prefect profile use xyz
prefect config set PREFECT_API_KEY="xxx"
prefect config set PREFECT_API_KEY="yyy"
for CI/CD it's recommended to set it this way - prefect cloud login is meant for interactive mode, not CI
s
Perfect, thank you!
🙌 1