Configuration Service Configuration
This article provides information about how to connect the Configuration Service to other modules and how to configure the Configuration Service itself.
Configuration Service client configuration
When using the Configuration Service to manage the configuration of modules, the Configuration Service and the module are connected by specifying the following properties in the etc/application.properties
configuration file of the module.
These properties need to be set in the corresponding
The property cannot be overridden by the local configuration file. |
Property | Data type | Description |
---|---|---|
|
String |
Enables using the Configuration Service. Valid values: |
|
String |
The IP address or the hostname of the server where the Configuration Service is running. Default value: |
|
Number |
The gRPC port of the Configuration Service. Default value: |
|
String |
The private key used for communication between the Configuration Service and the client, as well as between the connected modules, for example, DPM and DPE, MMM and DPM, MMM and AI Core. When a module receives a request from another module, it can obtain the sender’s public key from the Configuration Service and use it to verify the validity of the signature with which the received data was signed. The signature itself is signed with the private key of the module that made the initial request. The key can be generated through the Configuration Service. See Security Configuration. |
Configuration Service server configuration
The following properties are defined in the etc/application.properties
file of the Configuration Service module.
gRPC server
TLS/mTLS configuration
Property | Data type | Description |
---|---|---|
|
Boolean |
Enables TLS authentication on the gRPC server. Default value: |
|
String |
Defines whether mutual TLS authentication is needed. Valid values: Disabled by default. |
|
Boolean |
If set to Default value: |
|
String |
The full path to the TLS certificate, for example, |
|
String |
The full path to the private key of the certificate, for example, |
|
String |
The full path to the public certificate of the root certificate authority, for example, |
Keycloak authentication
Property | Data type | Description |
---|---|---|
|
String |
The name of the Keycloak realm. Default value: |
|
String |
The base URL of the server where Keycloak is running. Default value: |
|
Boolean |
Default value: |
|
String |
The authentication URL of the server where Keycloak is running. Default value: |
|
String |
The client identifier. Used to verify a user’s authorization token and to log in a user. Default value: |
|
String |
The secret key of the client. Secret keys can be generated using Keycloak. Used when the HTTP basic authentication is enabled. Default value: |
|
String |
Specifies the issuer of the JWT token. Typically, Keycloak uses the URL of the realm as the token issuer. Default value: |
|
Boolean |
Enables HTTP basic authentication for the Configuration Service. Default value: |
Single sign-on configuration
Property | Data type | Description |
---|---|---|
|
String |
The name of the Keycloak realm used for SSO. Default value: |
|
String |
The base URL where Keycloak is available. Used as a prefix for other SSO URLs. Default value: |
|
String |
The URL where users are redirected to provide authentication credentials. Default value: |
|
String |
The URL used to obtain authentication tokens from Keycloak. Default value: |
|
String |
The URL used for logging users out. Default value: |
|
String |
The client identifier used for verifying user authorization tokens and for logging in. Default value: |
GraphQl configuration
Property | Data type | Description |
---|---|---|
|
String |
The URL of the GraphQL endpoint that is used by the Configuration Service for the user interface. Default value: |
|
String |
Limits access to the Configuration Service based on the user role. Default value: |
Configuration Service database configuration
Property | Data type | Description |
---|---|---|
|
String |
A JDBC connection string pointing to the Configuration Service database. Default value: |
In case you do not want to use the embedded H2 database that is configured by default, add the following properties to your configuration and replace the values accordingly:
|
Was this page useful?