title: Blank environment variables in AWS Lambda
body: <p>I have defined several environment variables in my AWS Lambda but when I try and access them in my .Net code they are coming in as blank.What am I missing?</p>
  
  <p>Source Code:</p>
  
  <pre><code>public void CalculateInterimReviewsToBeCreated(Input input, ILambdaContext context)
  {
      var uri = new Uri(getFSRHistoryURL);
      using (var httpClient = new HttpClient { BaseAddress = uri })
      {
          var authenticationHeaderKey = System.Environment.GetEnvironmentVariable("AuthenticationHeaderKey");
          LambdaLogger.Log("CalculateInterimReviewsToBeCreated : authenticationHeaderKey" + authenticationHeaderKey);
          ...
      }
      ...
  }
  </code></pre>
  
  <p><strong>CloudWatch shows blank environment variable:</strong>
  <a href="https://i.stack.imgur.com/Yc3KF.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Yc3KF.jpg" alt="enter image description here"></a></p>
  
  <p><strong>Lambda function configuration shows configured environment variable:</strong>
  <a href="https://i.stack.imgur.com/QZ6U6.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QZ6U6.jpg" alt="enter image description here"></a></p>