title: Is it possible to use a JSON object as a Google Cloud credential config param under Python?
body: <p>I notice one can authenticate as a Google Cloud Client using the Python method</p>
  
  <pre><code>from_service_account_json(/path/to/credentials.json)
  </code></pre>
  
  <p>Like so:</p>
  
  <pre><code> bigquery_client = bigquery.Client.from_service_account_json(
      'service_account.json')
  </code></pre>
  
  <p>However, I don't really want to keep the credentials file stored on the running instance. Rather, I just want to pass the JSON object, which I store as a JSON string in an environment variable.</p>
  
  <p>The NodeJs version of the Google Cloud Credentials library allows for the JSON object to be passed like so:</p>
  
  <pre><code>const creds = JSON.parse(process.env.API_JSON);
  const client = PubSub({
      projectId: projectId,
      credentials: creds
  });
  </code></pre>
  
  <p>Is there a way to create the Google Cloud Credential in Python by passing the JSON string representing the credential information into a method such as, from_service_account_json()?</p>