title: Firebase Cloud Function config to access other project db
body: <p>I need to create a Cloud Function that will access the Firebase DB that is running in another project. If it was accessing the db in the current project, I could use code such as</p>
  
  <pre><code>const functions = require('firebase-functions');
  
  const admin = require('firebase-admin');
  admin.initializeApp(functions.config().firebase);
  </code></pre>
  
  <p>however, what I want is for <code>functions.config().firebase</code> to return the information (and, most importantly, credentials) for the other project. Is there any easy way to do this?</p>