Configuration

Configuring your Virtual Signer with environment variables

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

🚧

Any changes to the variables after deployment will invalidate the device & private keys.

To ensure that your device cannot be reconfigured after deployment into a different mode that could compromise it's security, the virtual signer will fail to run.

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.

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.

InitialDevices EDG_VS_INITIAL_DEVICES String

Optional. Comma-separated device names 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.