title: Using private key in a .env file
body: <p>I have a multiline private key in a gatsby <code>.env</code> file:</p>
  
  <pre><code>GATSBY_GOOGLE_CLIENT_ID="12345"
  GATSBY_GOOGLE_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\nflkdflkdf...\n-----END PRIVATE KEY-----"
  </code></pre>
  
  <p>In my gatsby-config file I have:</p>
  
  <pre><code>module.exports = {
      resolve: 'gatsby-source-google-sheets',
      options: {
          credentials: {
              "type": "service_account",
              "private_key": process.env.GATSBY_GOOGLE_PRIVATE_KEY,
              "client_id": process.env.GATSBY_GOOGLE_CLIENT_ID
          }
      }
  }
  </code></pre>
  
  <p>The <code>client_id</code> works fine because it's just a one line string but the <code>private_key</code> doesn't work, presumably because it's multi line.</p>
  
  <p>Is there a way I can get around this?</p>
  
  <p>Thanks</p>