envVars object is used to define the environment variables which are used throughout whole component.

Property Name Type Required Description
required boolean Specifies whether setting the environmental variable is required for the component to operate properly. If not present then the value is false by default.
description string Description of the environment variable.

Here is an example envVars implementation in the component.json file:

"envVars": {
   "SALESFORCE_KEY": {
      "required": true,
      "description": "Your Salesforce OAuth client key"
    },
    "SALESFORCE_SECRET": {
      "required": true,
      "description": "Your Salesforce OAuth client secret"
    }
}