Environment Variables
| Variable | Description |
|---|---|
| KMS | Specifies the IP address or hostname of the key management server. |
| DPG_PORT | (Optional) Specifies the port on which DPG will come up. By default, its value is 8990. |
| TLS_ENABLED | (Optional) Specifies whether to enable DPG to listen over TLS. Set to true to enable, false to disable. The default value is false. If TLS_ENABLED is true, specify the values of: — CERT_PATH/CERT_VALUE: Specifies the text of the TLS certificate in .PEM format. — KEY_PATH/KEY_VALUE: Specifies the private key associated with the TLS certificate. — SKIP_TLS_VERIFY: If set to false, DPG validates the server certificates. By default, this parameter is set to true. If this parameter is false, CA_PATH is mandatory.— CA_PATH: Specifies the CA certificate (in the .PEM format)that was used to sign the TLS certificate. |
| REG_TOKEN | Specifies the token required to register DPG on the key manager. |
| DESTINATION_URL | Specifies the URL of the application server. For example, http://localhost:8081. |
Note
While deploying DPG, the following variables can be used interchangeably:
CERT_PATHandCERT_VALUEKEY_PATHandKEY_VALUE
From next release onward, the variables,
CERT_PATHandKEY_PATHwill be deprecated.