title: How to store an object in process.env variables
body: <p>I'm using firebase in my node js. application, and I want to store its serviceAccountKey.json file in a process.env variable.</p>
  <p>Something like this in my dotenv (.env) file</p>
  <pre><code>  SERVICE_ACCOUNT_KEY={
    &quot;type&quot;: &quot;anything&quot;,
    &quot;project_id&quot;: &quot;anything&quot;,
    &quot;private_key_id&quot;: &quot;anything&quot;,
    &quot;private_key&quot;: &quot;anything&quot;,
    &quot;client_email&quot;: &quot;anything&quot;,
    &quot;client_id&quot;: &quot;anything&quot;,
    &quot;auth_uri&quot;: &quot;anything&quot;,
    &quot;token_uri&quot;: &quot;anything&quot;,
    &quot;auth_provider_x509_cert_url&quot;: &quot;anything&quot;,
    &quot;client_x509_cert_url&quot;: &quot;anything&quot;
  }
  </code></pre>
  <p>But when I do this, It says</p>
  <blockquote>
  <p>Service account must be an object.</p>
  </blockquote>
  <p>Please help me storing this object in process.env variable.</p>