Enabling vault access
A vault is a tool designed to control access to sensitive credentials. It can also generate access keys dynamically for specific services or applications.
Vault eliminates hard coded application credentials embedded in applications, configuration files, and allows the sensitive passwords to be centrally stored, logged, and managed within the vault.
PATROL for IBM DB2 supports using password from vault. When you want to specify credentials while configuring a monitor policy for Oracle Enterprise database, you can use the vault to get the credentials.
Before you begin
Enable vault access in PATROL Agent.
For more information, see Enabling vault access.
To enable vault access
You can enable it at the global level, environment level, and monitor type.
Global level variable has the highest precedence over other levels. The precedence order is global level > monitor type > environmental level.
Following are the examples of different environmental level:
Environment level | PATROL configuration variable | Value |
---|---|---|
JDBC Connection setup | /PSO/DB2/JDBC/<EnvName>/isVaultEnabled | 0=Disable |
Local Connection setup | /PSO/DB2/Local/<EnvName>/isVaultEnabled | |
Remote UNIX Connection setup | /PSO/DB2/RemoteUnix/<EnvName>/isVaultEnabled | |
Remote Windows Connection setup | /PSO/DB2/RemoteWin/<EnvName>/isVaultEnabled |
Following are the examples of different monitor type:
Monitor Type | PATROL configuration variable | Value |
---|---|---|
JDBC Connection setup | /PSO/DB2/JDBC/isVaultEnabled | 0=Disable |
Local Connection setup | /PSO/DB2/Local/isVaultEnabled | |
Remote UNIX Connection setup | /PSO/DB2/RemoteUnix/isVaultEnabled | |
Remote Windows Connection setup | /PSO/DB2/RemoteWin/isVaultEnabled |
Following are the examples of global, monitor type, and environment level configuration variables for which you can enable vault. Add one of the following configuration variables as per your requirement to enable vault.
Configuration level | Example | Description |
Global level | /PSO/DB2/isVaultEnabled = 1 | This is applicable to all the IBM DB2 monitoring environments configured in a monitoring policy. |
Monitor type | /PSO/DB2/JDBC/isVaultEnabled = 1 | This is applicable to all the JDBC monitoring types configured in a monitoring policy. |
Environment level | /PSO/DB2/JDBC/<ENV_NAME>/isVaultEnabled = 1 | This is applicable to a specific environment configured in a monitoring policy in a given monitoring type. |
If you are using vault to access the password in BMC Helix Operations Management, enter the query string in the Password and Confirm password field.
To add a configuration variable
You create a new variable by using the REPLACE operation.
If you do not enter a value, default value of the variable is used.