-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Having PREFECT_API_KEY as env var prevent from login to cloud #7797
Comments
Thanks for the bug report @Andarius! |
We've already got a utility to check if the key actually works so this should be a quick fix. |
Hello @madkinsz and @bunchesofdonald, |
Great! Let us know if you have any questions :) |
RUN prefect profile use default |
just adding this here in case anyone else encounters: |
First check
Bug summary
When having
PREFECT_API_KEY
set as an environment variable, theprefect cloud login
command will exit withThis profile is already authenticated with that key.
without being actually logged in.Reproduction
Error
Versions
Additional context
No response
The text was updated successfully, but these errors were encountered: