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": {
      "required": true,
      "description": "Your Salesforce OAuth client key"
      "required": true,
      "description": "Your Salesforce OAuth client secret"