connectorUser

connectorUser

This setting was added in Profound.js version 7.0.0.

Description

This setting is used along with connectorPassword to specify IBM i credentials for remote IBM i connections. Together they are an alternative to connectorCredentials, and allow the credentials to be loaded from sources other than the local file system.

connectorUser and connectorPassword must be specified together. Specifying one without the other, or combining either with connectorCredentials, causes a configuration error at startup.

Example 1: Specify Directly in config.js

"connectorUser": "my_profile"

Example 2: Load From the Environment

Because config.js is ordinary JavaScript, the value can be loaded from another source with custom coding – for example from an environment variable:

"connectorUser": process.env.CONNECTOR_USER

For information on how to modify this setting, see Configuration File.