Environment Variables

You can use environment variables instead of persisting credentials for every object. Even for the Master Key, you can have an environment variable.

Environment variables are useful in a multi-user system where you want to leverage a single instance of sysopswork, or when you want to add objects by using ADDOBJ: instruction, but don’t want to include the credentials of such object in the instruction. They are also useful when you have same credentials for all or most of the objects with same login mode.

sysopswork will only use environment variables when the credentials are not persisted.

Below is the list of environment variables used by sysopswork.

Master Key

SYSOPSWORK_MASTER_KEY is used for the master key.

Amazon Web Services

SYSOPSWORK_AWS_KEY is used for Amazon Web Services Key credentials.

SYSOPSWORK_AWS_SECRET is used for Amazon Web Services Secret credentials.

SYSOPSWORK_AWS_REGION is used to indicate Amazon Web Services region.

SYSOPSWORK_AWS_FORMAT is used to indicate Amazon Web Services API response format.

Microsoft Azure

SYSOPSWORK_AZURE_CLOUD is used to indicate which Microsoft Azure cloud is being used.

SYSOPSWORK_AZURE_USERID is used for Microsoft Azure User ID credentials.

SYSOPSWORK_AZURE_PASS is used for Microsoft Azure Password credentials.

SYSOPSWORK_AZURE_TENANT is used to indicate which Microsoft Azure tenant is being used.

Google Cloud Platform

SYSOPSWORK_GCP_KEYPATH is used to indicate where the GCP authentication key is located.

Objects

SYSOPSWORK_OBJ_USERNAME is used for object username credentials.

SYSOPSWORK_OBJ_PASSWORD is used for object password credentials.

SYSOPSWORK_OBJ_KEYPATH is used to indicate where the object authentication key is located.

SYSOPSWORK_OBJ_PASSPHRASE is used for object key passphrase credentials.

SYSOPSWORK_OBJ_THUMBPRINT (Windows only) is used for object certificate thumbprint credentials.