Configuration

Configuring your Virtual Signer with environment variables

The virtual signer can be configured with environment variables during deployment.

Contact your io.finnet representative for more information if you would like to understand more about these options.

Configuration

Description

Port EDG_VS_Port Integer

The TCP port opened by the Virtual Signer, part of the URL exposed for device registration.

MPCCoreHost EDG_VS_MPCCorePort String

The host name, that will be used by Virtual Signer light instance, to connect to Virtual Signer server instance.

MPCCorePort EDG_VS_MPCCoreHost Integer

Port number, that will be used by Virtual Signer light instance, to connect to Virtual Signer server instance.

LogLevel EDG_VS_LogLevel String

The log level of the Virtual Signer. Valid values are "info" or "debug".

OrgId EDG_VS_OrgId String

Optional. The organization ID used when registering a device on launch. Required if InitialDevices is defined.

InitialDevice EDG_VS_INITIAL_DEVICE String

Optional. Device name to be registered on launch. Requires OrgId.

AuthClientId EDG_VS_AuthClientId String

The client ID used for authentication along with AuthClientSecret.

AuthClientSecret EDG_VS_AuthClientSecret String

The client secret used for authentication with AuthClientId.

ApprovalMode EDG_VS_ApprovalMode String

Determines approval mechanism. Valid values: "API", "SmartContract", or "AlwaysApprove".

ExternalReshareApprovalURL EDG_VS_ExternalReshareApprovalURL String

The URL of a user API that approves or rejects reshare requests. Required if ApprovalMode="API".

ExternalTransactionApprovalURL EDG_VS_ExternalTransactionApprovalURL String

The URL of a user API that approves or rejects transactions. Required if ApprovalMode="API".

ApprovalHTTPPublicKeyHex EDG_VS_ApprovalHTTPPublicKeyHex String

The EdDSA P256 public key (hex-encoded) used to verify HTTP responses from the user API when ApprovalMode="API".

ApprovalNodeRPCAddress EDG_VS_ApprovalNodeRPCAddress String

Required for "SmartContract" mode. RPC address of an Ethereum or io.network node.

ApprovalSmartContractAddress EDG_VS_ApprovalSmartContractAddress String

Required for "SmartContract" mode. Smart contract address in hex ("0x...") that approves/rejects requests.

PrometheusPort EDG_VS_PrometheusPort Integer

Optional.