super simple issue here but I am having more trouble with this then I would to admit. I am trying to login to an API Key that doesn't expire, but when I try to login I get the following error (see pic). Is there a simple terminal command to change this? Thanks
✅ 1
s
Serina
04/17/2024, 4:33 PM
it sounds like you may have
PREFECT_API_KEY
set as an env var?
d
Dustin
04/17/2024, 4:35 PM
I think you are correct (that wasn't intentional). Best way to change that?
s
Serina
04/17/2024, 4:37 PM
sure yeah you can double-check here
❯ echo $PREFECT_API_KEY
that you’ve set it. then unset it like so
❯ unset PREFECT_API_KEY
Serina
04/17/2024, 4:38 PM
and then if you want to add/change it in your profile you can do
prefect config set PREFECT_API_URL=foo
Serina
04/17/2024, 4:39 PM
also I think you’d only see that error when your
PREFECT_API_KEY
env var differs from the one in your profile, so def double check on the right one!
d
Dustin
04/17/2024, 4:39 PM
ok thank you very much. I think I will be able to take it from here!!! This is super helpful
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.