Chapter 22. All configuration
Review build options and configuration for Red Hat build of Keycloak.
22.1. Cache Copy linkLink copied to clipboard!
| Type or Values | Default | |
|---|---|---|
|
CLI: |
| |
|
CLI: | File | |
|
CLI: |
|
|
|
CLI: | Integer | |
|
CLI: Available only when embedded Infinispan clusters configured | Integer | |
|
CLI: | Integer | |
|
CLI: | Integer | |
|
CLI: Available only when a TCP based cache-stack is used |
|
|
|
CLI: Available only when property 'cache-embedded-mtls-enabled' is enabled | String | |
|
CLI: Available only when property 'cache-embedded-mtls-enabled' is enabled | String | |
|
CLI: Available only when property 'cache-embedded-mtls-enabled' is enabled | Integer |
|
|
CLI: Available only when property 'cache-embedded-mtls-enabled' is enabled | String | |
|
CLI: Available only when property 'cache-embedded-mtls-enabled' is enabled | String | |
|
CLI: Available only when Infinispan clustered embedded is enabled | String | |
|
CLI: Available only when Infinispan clustered embedded is enabled | Integer | |
|
CLI: Available only when Infinispan clustered embedded is enabled | String | |
|
CLI: Available only when Infinispan clustered embedded is enabled | Integer | |
|
CLI: Available only when embedded Infinispan clusters configured | Integer | |
|
CLI: Available only when embedded Infinispan clusters configured | Integer | |
|
CLI: | Integer | |
|
CLI: Available only when embedded Infinispan clusters configured | Integer | |
|
CLI: | Integer | |
|
CLI: Available only when metrics are enabled |
|
|
|
CLI: Available only when remote host is set | List | |
|
CLI: | String | |
|
CLI: Available only when remote host is set | String | |
|
CLI: Available only when remote host is set | Integer |
|
|
CLI: Available only when remote host is set |
|
|
|
CLI: Available only when remote host is set | String | |
|
CLI: Available only when 'cache' type is set to 'ispn'
Use 'jdbc-ping' instead by leaving it unset Deprecated values: |
|
22.2. Config Copy linkLink copied to clipboard!
| Type or Values | Default | |
|---|---|---|
|
CLI: | String | |
|
CLI: | String | |
|
CLI: | String |
|
22.3. Database Copy linkLink copied to clipboard!
| Type or Values | Default | |
|---|---|---|
| 🛠
Named key: 🛠
CLI: |
|
|
|
CLI: | String |
|
|
Named key:
CLI: |
|
|
| 🛠
Named key: 🛠
CLI: | String | |
|
Named key:
CLI: | Integer |
|
|
Named key:
CLI: | String | |
|
Named key:
CLI: | Integer | |
|
CLI: | String | |
|
Named key:
CLI: | Integer |
|
|
Named key:
CLI: | Integer | |
|
Named key:
CLI: | String | |
|
Named key:
CLI: |
|
|
|
Named key:
CLI: | File | |
|
Named key:
CLI: | String | |
|
Named key:
CLI: | String | |
|
Named key:
CLI: | String | |
|
Named key:
CLI: | String | |
|
Named key:
CLI: | String | |
|
Named key:
CLI: | Integer | |
|
Named key:
CLI: | String | |
|
Named key:
CLI: | String |
22.4. Database - additional datasources Copy linkLink copied to clipboard!
| Type or Values | Default | |
|---|---|---|
|
CLI: |
|
|
| 🛠
CLI: | String | |
|
CLI: |
|
|
| 🛠
CLI: |
| |
|
CLI: | Integer |
|
|
CLI: | String | |
|
CLI: | Integer | |
|
CLI: | Integer |
|
|
CLI: | Integer | |
|
CLI: | String | |
|
CLI: |
|
|
|
CLI: | File | |
|
CLI: | String | |
|
CLI: | String | |
|
CLI: | String | |
|
CLI: | String | |
|
CLI: | String | |
|
CLI: | Integer | |
|
CLI: | String | |
|
CLI: | String |
22.5. Transaction Copy linkLink copied to clipboard!
| Type or Values | Default | |
|---|---|---|
|
CLI: | String |
|
|
CLI: | String |
|
| 🛠
Named key: 🛠
CLI: |
|
|
| 🛠
CLI: |
|
|
22.6. Feature Copy linkLink copied to clipboard!
| Type or Values | Default | |
|---|---|---|
| 🛠
CLI: | String | |
| 🛠
CLI: |
| |
| 🛠
CLI: |
|
22.7. Hostname v2 Copy linkLink copied to clipboard!
| Type or Values | Default | |
|---|---|---|
|
CLI: Available only when hostname:v2 feature is enabled | String | |
|
CLI: Available only when hostname:v2 feature is enabled | String | |
|
CLI: Available only when hostname:v2 feature is enabled |
|
|
|
CLI: Available only when hostname:v2 feature is enabled |
|
|
|
CLI: Available only when hostname:v2 feature is enabled |
|
|
22.8. HTTP(S) Copy linkLink copied to clipboard!
| Type or Values | Default | |
|---|---|---|
|
CLI: DEPRECATED. |
|
|
|
CLI: |
|
|
|
CLI: | String | |
|
CLI: | Integer | |
|
CLI: Available only when metrics are enabled |
|
|
|
CLI: Available only when metrics are enabled | String | |
|
CLI: | Integer | |
|
CLI: | Integer |
|
| 🛠
CLI: | String |
|
|
CLI: | File | |
|
CLI: | File | |
|
CLI: | String |
|
|
CLI: | String | |
| 🛠
CLI: |
|
|
|
CLI: | File | |
|
CLI: | String |
|
|
CLI: | String | |
|
CLI: | Integer |
|
|
CLI: |
|
|
|
CLI: | File | |
|
CLI: | String | |
|
CLI: | String | |
|
CLI: | String |
|
|
CLI: | String |
|
22.9. HTTP Access log Copy linkLink copied to clipboard!
| Type or Values | Default | |
|---|---|---|
|
CLI: |
|
|
|
CLI: Available only when HTTP Access log is enabled | String | |
|
CLI: Available only when HTTP Access log is enabled |
|
|
|
CLI: Available only when HTTP Access logging to file is enabled | String |
|
|
CLI: Available only when HTTP Access logging to file is enabled |
|
|
|
CLI: Available only when HTTP Access logging to file is enabled | String |
|
|
CLI: Available only when HTTP Access log is enabled | List | |
|
CLI: Available only when HTTP Access log is enabled | List | |
|
CLI: Available only when HTTP Access log is enabled |
|
|
22.10. Health Copy linkLink copied to clipboard!
| Type or Values | Default | |
|---|---|---|
| 🛠
CLI: |
|
|
22.11. Management Copy linkLink copied to clipboard!
| Type or Values | Default | |
|---|---|---|
| 🛠
CLI: Available only when health is enabled |
|
|
|
CLI: | Integer |
|
| 🛠
CLI: | String |
|
|
CLI: |
|
|
|
CLI: Available only when http-management-scheme is inherited | File | |
|
CLI: Available only when http-management-scheme is inherited | File | |
|
CLI: Available only when http-management-scheme is inherited | String |
|
| 🛠
CLI: |
|
|
|
CLI: Available only when http-management-scheme is inherited | File | |
|
CLI: Available only when http-management-scheme is inherited | String |
|
| 🛠
CLI: DEPRECATED. |
|
|
22.12. Metrics Copy linkLink copied to clipboard!
| Type or Values | Default | |
|---|---|---|
| 🛠
CLI: |
|
|
22.13. Proxy Copy linkLink copied to clipboard!
| Type or Values | Default | |
|---|---|---|
|
CLI: |
| |
|
CLI: |
|
|
|
CLI: | List |
22.14. Vault Copy linkLink copied to clipboard!
| Type or Values | Default | |
|---|---|---|
| 🛠
CLI: |
| |
|
CLI: | Path | |
|
CLI: | Path | |
|
CLI: | String | |
|
CLI: | String |
|
22.15. Logging Copy linkLink copied to clipboard!
| Type or Values | Default | |
|---|---|---|
|
CLI: |
|
|
|
CLI: |
|
|
|
CLI: Available only when Console log handler is activated |
|
|
|
CLI: Available only when Console log handler is activated and asynchronous logging is enabled | Integer |
|
|
CLI: Available only when Console log handler is activated |
| |
|
CLI: Available only when Console log handler is activated | String |
|
|
CLI: Available only when Console log handler and MDC logging are activated |
|
|
|
CLI: Available only when Console log handler and Tracing is activated |
|
|
|
CLI: Available only when Console log handler is activated and output is set to 'json' |
|
|
|
CLI: Available only when Console log handler is activated |
|
|
|
CLI: Available only when Console log handler is activated |
|
|
|
CLI: Available only when File log handler is activated | File |
|
|
CLI: Available only when File log handler is activated |
|
|
|
CLI: Available only when File log handler is activated and asynchronous logging is enabled | Integer |
|
|
CLI: Available only when File log handler is activated | String |
|
|
CLI: Available only when File log handler and MDC logging are activated |
|
|
|
CLI: Available only when File log handler and Tracing is activated |
|
|
|
CLI: Available only when File log handler is activated and output is set to 'json' |
|
|
|
CLI: Available only when File log handler is activated |
|
|
|
CLI: Available only when File log handler is activated |
|
|
|
CLI: Available only when File log handler is activated |
|
|
|
CLI: Available only when File log handler is activated and log file rotation is enabled | String | |
|
CLI: Available only when File log handler is activated and log file rotation is enabled | Integer |
|
|
CLI: Available only when File log handler is activated and log file rotation is enabled | String |
|
|
CLI: Available only when File log handler is activated and log file rotation is enabled |
|
|
|
CLI: | List |
|
|
CLI: |
| |
| 🛠
CLI: Available only when log-mdc preview feature is enabled |
|
|
|
CLI: Available only when MDC logging is enabled |
|
|
|
CLI: | String | |
|
CLI: | String |
|
|
CLI: Available only when Syslog is activated | String |
|
|
CLI: Available only when Syslog is activated |
|
|
|
CLI: Available only when Syslog is activated and asynchronous logging is enabled | Integer |
|
|
CLI: Available only when Syslog is activated |
|
|
|
CLI: Available only when Syslog is activated | String |
|
|
CLI: Available only when Syslog is activated | String |
|
|
CLI: Available only when Syslog handler and MDC logging are activated |
|
|
|
CLI: Available only when Syslog handler and Tracing is activated |
|
|
|
CLI: Available only when Syslog is activated and output is set to 'json' |
|
|
|
CLI: Available only when Syslog is activated |
|
|
|
CLI: Available only when Syslog is activated | String | |
|
CLI: Available only when Syslog is activated |
|
|
|
CLI: Available only when Syslog is activated |
|
|
|
CLI: Available only when Syslog is activated |
|
|
22.16. Telemetry (OpenTelemetry) Copy linkLink copied to clipboard!
| Type or Values | Default | |
|---|---|---|
|
CLI: Available only when any of available OpenTelemetry components (Logs, Metrics, Traces) is turned on | String |
|
|
CLI: Available only when any of available OpenTelemetry components (Logs, Metrics, Traces) is turned on | String | |
| 🛠
CLI: Available only when feature 'opentelemetry-logs:v1' is enabled |
|
|
|
CLI: Available only when Telemetry Logs functionality ('telemetry-logs-enabled') is enabled | String | |
|
CLI: Available only when Telemetry Logs functionality ('telemetry-logs-enabled') is enabled | String | |
|
CLI: Available only when Telemetry Logs functionality ('telemetry-logs-enabled') is enabled |
|
|
|
CLI: Available only when Telemetry Logs functionality ('telemetry-logs-enabled') is enabled |
| |
| 🛠
CLI: Available only when metrics and feature 'opentelemetry-metrics:v1' are enabled |
|
|
|
CLI: Available only when metrics ('metrics-enabled') and Telemetry Metrics functionality ('telemetry-metrics-enabled') are enabled | String | |
|
CLI: Available only when metrics ('metrics-enabled') and Telemetry Metrics functionality ('telemetry-metrics-enabled') are enabled | String | |
|
CLI: Available only when metrics ('metrics-enabled') and Telemetry Metrics functionality ('telemetry-metrics-enabled') are enabled | String |
|
|
CLI: Available only when metrics ('metrics-enabled') and Telemetry Metrics functionality ('telemetry-metrics-enabled') are enabled |
| |
|
CLI: Available only when any of available OpenTelemetry components (Logs, Metrics, Traces) is turned on |
|
|
|
CLI: Available only when any of available OpenTelemetry components (Logs, Metrics, Traces) is turned on | List | |
|
CLI: Available only when any of available OpenTelemetry components (Logs, Metrics, Traces) is turned on | String |
|
22.17. Tracing Copy linkLink copied to clipboard!
| Type or Values | Default | |
|---|---|---|
|
CLI: Available only when Tracing is enabled |
|
|
| 🛠
CLI: Available only when 'opentelemetry' feature is enabled |
|
|
|
CLI: Available only when Tracing is enabled | String |
|
|
CLI: Available only when Tracing is enabled | String | |
|
CLI: Available only when tracing and embedded Infinispan is enabled |
|
|
| 🛠
CLI: Available only when Tracing is enabled |
|
|
|
CLI: Available only when Tracing is enabled |
|
|
|
CLI: Available only when Tracing is enabled
DEPRECATED. Resource attributes are not directly related to Tracing and you should use the Telemetry option which takes precedence. Use: | List | |
|
CLI: Available only when Tracing is enabled | Double |
|
| 🛠
CLI: Available only when Tracing is enabled |
|
|
|
CLI: Available only when Tracing is enabled
DEPRECATED. Service name is not directly related to Tracing and you should use the Telemetry option which takes precedence. Use: | String |
|
22.18. Events Copy linkLink copied to clipboard!
| Type or Values | Default | |
|---|---|---|
| 🛠
CLI: Available only when metrics are enabled and feature user-event-metrics is enabled |
|
|
|
CLI: Available only when user event metrics are enabled
Use |
| |
|
CLI: Available only when user event metrics are enabled |
|
|
22.19. Truststore Copy linkLink copied to clipboard!
| Type or Values | Default | |
|---|---|---|
|
CLI:
STRICT and WILDCARD have been deprecated, use DEFAULT instead. Deprecated values: |
|
|
|
CLI: |
|
|
|
CLI: | List |
22.20. Security Copy linkLink copied to clipboard!
| Type or Values | Default | |
|---|---|---|
| 🛠
CLI: |
|
|
22.21. Export Copy linkLink copied to clipboard!
| Type or Values | Default | |
|---|---|---|
|
CLI: | String | |
|
CLI: | String | |
|
CLI: | String | |
|
CLI: |
|
|
|
CLI: | Integer |
|
22.22. Import Copy linkLink copied to clipboard!
| Type or Values | Default | |
|---|---|---|
|
CLI: | String | |
|
CLI: | String | |
|
CLI: |
|
|
22.23. OpenAPI configuration Copy linkLink copied to clipboard!
| Type or Values | Default | |
|---|---|---|
| 🛠
CLI: Available only when OpenAPI feature is enabled |
|
|
| 🛠
CLI: Available only when OpenAPI Endpoint is enabled |
|
|
22.24. Server configuration Copy linkLink copied to clipboard!
| Type or Values | Default | |
|---|---|---|
|
CLI: |
|
22.25. Bootstrap Admin Copy linkLink copied to clipboard!
| Type or Values | Default | |
|---|---|---|
|
CLI: | String |
|
|
CLI: | String | |
|
CLI: | String | |
|
CLI: | String |
|