title: GCP Authenticate as End User using gcloud auth (not service account)
body: <p>On my GCP VM (ubuntu) server, if I run:</p>
  <pre><code>gcloud init
  </code></pre>
  <p>in the terminal, and log in as my username (NOT A SERVICE ACCOUNT), e.g. <code>my.name@companyname.com</code>, then I can be authenticated as my user self, and am authenticated for all gcp related python functions.</p>
  <pre><code>&gt;&gt;&gt; import google.auth
  &gt;&gt;&gt; credentials, project = google.auth.default()
  UserWarning: Your application has authenticated using end user credentials from Google Cloud SDK without a quota project. You might receive a &quot;quota exceeded&quot; or &quot;API not enabled&quot; error. We recommend you rerun `gcloud auth application-default login` and make sure a quota project is added. Or you can use service accounts instead. For more information about service accounts, see https://cloud.google.com/docs/authentication/
  warnings.warn(_CLOUD_SDK_CREDENTIALS_WARNING)
  </code></pre>
  <p>However, when I follow the same process on my local windows machine, I get this error:</p>
  <pre><code>&gt;&gt;&gt; import google.auth
  &gt;&gt;&gt; credentials, project = google.auth.default()
  Traceback (most recent call last):
    File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
    File &quot;C:\ProgramData\Anaconda3\lib\site-packages\google\auth\_default.py&quot;, line 354, in default
      raise exceptions.DefaultCredentialsError(_HELP_MESSAGE)
  google.auth.exceptions.DefaultCredentialsError: Could not automatically determine credentials. Please set GOOGLE_APPLICATION_CREDENTIALS or explicitly create credentials and re-run the
   application. For more information, please see https://cloud.google.com/docs/authentication/getting-started
  </code></pre>
  <p>I do not want to use a service account. I want to be authenticated using end user credentials (Without using flow).</p>