Hi all, I have a question regarding the prefect cl...
# prefect-server
f
Hi all, I have a question regarding the prefect cloud authorization. I am using my account to create a team, with some users invited. Although other users have been authorized to use the cloud account, one user can create a key off her dashboard but cannot use the key when she run "prefect auth login --key <YOUR-KEY>" after she set the cloud as the backend. She gets the following error
"unauthorized. invalid prefect cloud api key"
Any ideas why?
k
Hey @Fanglin, maybe try wrapping it in quotes?
Are they putting the key name or the key value? Other people have put the key name in the past instead of the value when doing
prefect auth login --key "YOUR_KEY"
f
Thanks Kevin! It turns out that the quote is not it, but she has to switch tenants using
'prefect auth switch-tenants -s <team-account-id>'
because she has her own account for a separate team by default
k
Ah gotcha!