Masking Config
As part of the IPF Platform’s common starter (dependency below), you can enable and mask sensitive values for when they are accessed; for example via actuator.
<dependency>
<groupId>com.iconsolutions.ipf.core.platform</groupId>
<artifactId>ipf-common-starter</artifactId>
</dependency>
The configuration available is detailed below and the values you see are set as the defaults out-of-the box.
ipf.config.masking.sensitive-values {
enabled = true (1)
replacement-value = "******" (2)
keys-to-mask = ["password", "secret"] (3)
}
| 1 | - Toggle for enabling/disabling the masking |
| 2 | - What to replace the sensitive value with |
| 3 | - Set of String tokens to search for in keys to replace their corresponding values with |