2021-09-30 12:12:58 +02:00

25 lines
1.3 KiB
YAML

## Scope
bundle.name: com.rola.spring
## Diagnostic endpoint and actuator security configuration
diag.security:
## Optional username for "/diag" remote access [development default: "actuator]
#user: actuator
## Optional password hash for "/diag" remote access [format: passwd/htpasswd compatible, default: "actuator#1234"]
## Generation tools e.g. openssl or mkpasswd, e.g. "openssl passwd -apr1 -salt salt hello" or "mkpasswd -m sha-256"
#password: "$6$iHta0sAPdmS$uwatLr4PTUMtRTlTZxyd5F.u.zth12FWsFhC2.gsT6JPbI7IKmcYAGWN3.BD3Zpn0.4MCt.xfMK81RKCirdbU/"
## Mandatory spring security access filter expression (https://docs.spring.io/spring-security/site/docs/5.0.x/reference/html/el-access.html) [default: "denyAll()"]
#access: "isAuthenticated()"
## Other common samples for "access" expression:
#access: "isAuthenticated() and (hasIpAddress('127.0.0.1/24') or hasIpAddress('::1'))"
#access: "hasIpAddress('127.0.0.1') or hasIpAddress('::1')"
access: "permitAll()"
#access: "denyAll()"
## Spring actuator config: enable or disable health endpoint [true|false, default: true]
management.endpoint.health.enabled: true
## Spring actuator config: configure health endpoint details [when-authorized|always|never, default: when-authorized]
management.endpoint.health.show-details: always