If you run phi auth
and you get the error: CLI authentication failed
or your CLI gets stuck on
It means that your CLI was not able to authenticate with your Phidata account on phidata.app
The quickest fix for this is to export your PHI_API_KEY
environment variable. You can do this by running the following command:
Your API key can be found on phidata.app in the sidebar under API Key
.
Reason for CLI authentication failure:
phi auth
.