code: function envOrSource(env, source) {
      function getKey(keyName) {
          return env[keyName] || source[keyName];
      }
      return getKey;
  }
docs: Closure to fetch a key from one of two places (environment vars or a specified object). Env vars take precedence.