<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Environment variables for app functions in Developer Q&amp;A Forum</title>
    <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Environment-variables-for-app-functions/m-p/205471#M201</link>
    <description>&lt;P&gt;No. Dynatrace app functions are not based on Node, nor do they have access to the file system or other process-related information. You can think of them as an ephemeral execution of just this one workload, with no knowledge of its surroundings other than the platform.&lt;/P&gt;
&lt;P&gt;If you want to access secrets and configuration, you need to use the App Settings API and the Secrets/Credentials Vault, but they might not yet be available in Customer Preview.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Apr 2023 07:41:25 GMT</pubDate>
    <dc:creator>stefan_baumgart</dc:creator>
    <dc:date>2023-04-19T07:41:25Z</dc:date>
    <item>
      <title>Environment variables for app functions</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Environment-variables-for-app-functions/m-p/205421#M200</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Do app functions support loading environment variable from .env file?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;export default async function (payload: unknown = undefined) {
  
  const config = {
    host: process.env.SERVER,
    port: process.env.PORT,
    username: process.env.USERNAME,
    password: process.env.PASSWORD
  }

...
  
  return 'Hello world';
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 13:43:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Environment-variables-for-app-functions/m-p/205421#M200</guid>
      <dc:creator>StephenLHChan</dc:creator>
      <dc:date>2023-05-02T13:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Environment variables for app functions</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Environment-variables-for-app-functions/m-p/205471#M201</link>
      <description>&lt;P&gt;No. Dynatrace app functions are not based on Node, nor do they have access to the file system or other process-related information. You can think of them as an ephemeral execution of just this one workload, with no knowledge of its surroundings other than the platform.&lt;/P&gt;
&lt;P&gt;If you want to access secrets and configuration, you need to use the App Settings API and the Secrets/Credentials Vault, but they might not yet be available in Customer Preview.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 07:41:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Environment-variables-for-app-functions/m-p/205471#M201</guid>
      <dc:creator>stefan_baumgart</dc:creator>
      <dc:date>2023-04-19T07:41:25Z</dc:date>
    </item>
  </channel>
</rss>

