Environment Variables
Environment variables are additional static information required by your connector,
at startup time.
Those environment variables are defined using the environmentVariables
property of your configuration.
They can be encrypted using the encrypt
command.
{
"environmentVariables": {
"FOO": "unencrypted",
"BAR": "unito-secret-v1://U2FsdGVkX1/eSVoyEf32Mxs7evWOMmRgk6s1ylp2n+3zCdVAaEgq6EZfsr+3gEHB"
}
}
In the example above, your connector will have access to those variables through the
process.env
facility.
warning
To use encrypted environment variables with the dev
and test
commands,
you must deploy your integration once with the
publish
command.