Application Default Credentials (ADC) is a strategy used by the authentication libraries to automatically find credentials based on the application environment.
gcloud auth application-default login
If you are using API keys, then you don’t need to set up ADC