Configure IBM Controller Disclosure Management Server by creating the required
database login, setting the required environment variables, and initializing secrets before
starting the service.
Before you begin, ensure that:
- IBM Controller is installed and running.
- IBM Controller Disclosure Management Server is installed.
- You have administrator access to the IBM Controller Disclosure Management
Server.
- You have SQL Server administrator (
sysadmin or equivalent) access
to create logins and grant server-level permissions.
- You have the database server hostname, port, and database name available.
- You have the OIDC client credentials from your OIDC provider application
registration.
About this task
Before IBM Controller Disclosure Management can start, you must:
- Create a dedicated SQL Server login with the minimum required database permissions
for IBM Controller Disclosure Management.
- Configure the server environment file (server.env) with the
required database connection and OIDC SSO credentials.
- Run the secrets initialization script to encrypt sensitive values.
The database login must be created before you configure the
server.env file.
-
On the SQL Server instance, connect using a SQL Server administrator account and
create a dedicated login for IBM Controller Disclosure Management.
-
Create the login in the
master database:
USE [master];
CREATE LOGIN [ibmdmuser] WITH PASSWORD = N'<password>';
Replace <password> with a strong password that meets
your organization's password policy.
-
Map the login to a database user in
master:
CREATE USER [ibmdmuser] FOR LOGIN [ibmdmuser];
Note: This mapping is required for the
CREATE ANY DATABASE permission to function
correctly.
-
Grant the minimum required server-level permissions to the login:
GRANT VIEW ANY DATABASE TO [ibmdmuser];
GRANT CONNECT ANY DATABASE TO [ibmdmuser];
GRANT SELECT ALL USER SECURABLES TO [ibmdmuser];
GRANT CREATE ANY DATABASE TO [ibmdmuser];
Table 1. Minimum required SQL Server permissions
| Permission |
Purpose |
VIEW ANY DATABASE |
Allows the login to see all databases on the SQL Server
instance. |
CONNECT ANY DATABASE |
Allows the login to connect to all databases on the
instance. |
SELECT ALL USER SECURABLES |
Grants read-only access across all user databases. |
CREATE ANY DATABASE |
Allows IBM Controller Disclosure Management to create its
application database during initial setup. |
Note: These permissions represent the minimum access required for
IBM Controller Disclosure Management to operate. Do not grant
sysadmin or other elevated server roles to this login in a
production environment.
-
On the IBM Controller Disclosure Management Server, open the server environment
file at the following location:
<installdir>/wlp/usr/servers/ibmdm/server.env
-
In server.env, set the following environment
variables:
Table 2. Required server.env variables
| Variable |
Description |
DB_CONNECTION_STRING |
The JDBC connection string for the application database. For example:
jdbc:sqlserver://server:1433;databaseName=ibmdm;encrypt=true;trustServerCertificate=false |
DB_USER_NAME |
The username of the dedicated database login created in the previous
step. For example: ibmdmuser |
DB_PASSWORD |
The password for the database login. Use an encrypted value managed
through the Secret Manager. |
OIDC_ISSUER_URI |
The issuer URI of your OIDC provider. Obtain this value from your
OIDC provider application registration. |
OIDC_CLIENT_ID |
The client ID assigned to IBM Controller Disclosure Management in
your OIDC provider application registration. |
OIDC_CLIENT_SECRET |
The client secret assigned to IBM Controller Disclosure Management
in your OIDC provider application registration. |
OIDC_REDIRECT_URI |
The redirect URI registered in your OIDC provider for IBM Controller
Disclosure Management. This must match the redirect URI configured in the
OIDC provider exactly. |
Important: Store sensitive values such as DB_PASSWORD
and OIDC_CLIENT_SECRET in encrypted form using the Secret
Manager. Do not store plain-text credentials in
server.env.
-
Save server.env.
-
Run the secrets initialization script to encrypt and register the credentials
with the Secret Manager:
init-secrets.ps1
Note: Run this script from the IBM Controller Disclosure Management
installation directory with administrator privileges.
IBM Controller Disclosure Management Server is configured and ready to start. The
database login is created with the minimum required permissions, and the server
environment is initialized with the required database and OIDC SSO credentials.
What to do next
After completing the configuration:
- Review the IBM Controller Disclosure Management security log at
<install-dir>/wlp/usr/servers/ibmdm/logs
to confirm that authentication events are being recorded correctly.