Environmental variables
On Unix platforms in general and Linux in particular, the library's operating parameters are configured via system variables.
On Windows platforms, in addition to directly editing the environment variables, you can also use the graphical console.
To have the environment variable persistent and global, consult your operating system's documentation.
The environment variables currently supported are1:
HSM_DISABLE_SESSION_CACHE
HSM_LOAD_BALANCE_LIST
HSM_LB_FILE_REFRESH_INTERVAL
HSM_BALANCE_SUSPEND_TIME
HSM_PIX_HTTP_CONN_REFRESH_INTERVAL
HSM_LOG_LEVEL
HSM_LOG_DIR
HSM_MAX_SOCKET_RETRIES
HSM_MAX_CONNECT_RETRIES
HSM_CONNECT_TIMEOUT
HSM_RECV_TIMEOUT
HSM_SEND_TIMEOUT
HSM_DISABLE_LEGACY_OPERATIONS
HSM_DS_ADDRESS
HSM_DS_API_KEY
HSM_DS_TIMEOUT
-
The prefix of the environment variables has been updated since version 3.1.13 of the HSM. From this version the prefix is
HSM_
in previous versions the prefix isDFENCE_
.Example:
Old version:
DFENCE_LOAD_BALANCE_LIST
.New version:
HSM_LOAD_BALANCE_LIST
. ↩