macma/macma-keycloak-mssql
DB_VENDOR
| Description |
Database vendor. |
| Required |
Yes |
| Defaults to |
- |
| Sources |
|
NEXEED_MACMA_KEYCLOAK_DB_URL
| Description |
Database connection string. In case it is provided, this will have higher priority than DB_ADDR, DB_DATABASE, DB_PORT, even if they are configured. In case it is not provided, DB_ADDR, DB_DATABASE, DB_PORT must be provided to build the database connection string;
|
| Required |
No |
| Defaults to |
- |
| Sources |
|
DB_ADDR
| Description |
Hostname of the database server. Required if NEXEED_MACMA_KEYCLOAK_DB_URL is not provided. |
| Required |
No |
| Defaults to |
- |
| Sources |
|
DB_DATABASE
| Description |
Name of the database. Required if NEXEED_MACMA_KEYCLOAK_DB_URL is not provided. |
| Required |
No |
| Defaults to |
- |
| Sources |
|
DB_PORT
| Description |
Port of the database connection. For MSSQL typically 1433. Required if NEXEED_MACMA_KEYCLOAK_DB_URL is not provided. |
| Required |
No |
| Defaults to |
- |
| Sources |
|
DB_PASSWORD
| Description |
Password for connection to database server. |
| Required |
Yes |
| Defaults to |
- |
| Sources |
|
DB_BG_VALIDATION_DURATION
| Description |
Specify the Duration between liveness-checks for pooled DB connections (optional, default is '55S' as it should not be the same value as idle-timeout(minutes)); the format for durations uses the standard java.time.Duration format. You can learn more about it in the [Duration#parse() javadoc](https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-). Influences failover behavior. |
| Required |
No |
| Defaults to |
55S |
| Sources |
|
DB_MIN_POOL_SIZE
| Description |
Minimum db connection pool size (MSSQL only). |
| Required |
No |
| Defaults to |
30 |
| Sources |
|
DB_MAX_POOL_SIZE
| Description |
Maximum db connection pool size (MSSQL only). |
| Required |
No |
| Defaults to |
100 |
| Sources |
|
JDBC_PARAMS
| Description |
Additional parameters for JDBC connection string. These parameters are only applied to MSSQL database connections. Can be set if NEXEED_MACMA_KEYCLOAK_DB_URL is not provided. Example
encrypt=true;trustServerCertificate=false; |
| Required |
No |
| Defaults to |
- |
| Sources |
|
KEYCLOAK_USER
| Description |
Admin user for Keycloak. |
| Required |
Yes |
| Defaults to |
- |
| Sources |
|
KEYCLOAK_PASSWORD
| Description |
Password for admin user for Keycloak. |
| Required |
Yes |
| Defaults to |
- |
| Sources |
|
KEYCLOAK_HOSTNAME
| Description |
Hostname of the server where MACMA Keycloak will run. |
| Required |
yes |
| Defaults to |
- |
| Sources |
|
KEYCLOAK_HOST_PUBLIC_URL
| Description |
Public URL to reach MACMA Keycloak. This is important for correct functioning of OAuth2 login flows. |
| Required |
Yes |
| Defaults to |
- |
| Sources |
|
KEYCLOAK_HTTP_PORT
| Description |
HTTP port. |
| Required |
Yes |
| Defaults to |
80 |
| Sources |
|
KEYCLOAK_HTTPS_PORT
| Description |
HTTPS port. |
| Required |
Yes |
| Defaults to |
443 |
| Sources |
|
KEYCLOAK_WEB_CONTEXT_PATH
| Description |
Context path "in between" the origin and specific paths offered by Keycloak. If MACMA is offered under a sub-path (e.g. `https://testSystemA.de.bosch.com:8088/iam/`) (instead of a sub-domain like `https://iam.testSystemA.de.bosch.com:8088/`) this should be set to the sub-path (here `iam`). |
| Required |
no |
| Defaults to |
"iam" |
| Sources |
|
KEYCLOAK_MASTER_ADMIN_CLI_SECRET
| Description |
Client secret of the admin client in the master realm, which is required by MACMA to control Keycloak. |
| Required |
Yes |
| Defaults to |
- |
| Sources |
|
KEYCLOAK_TOKEN_AUDIENCE_VERIFICATION
- Description
-
Keycloak will label a token inactive if introspecting a token only intended for other applications.
- Required
-
Yes
- Defaults to
-
true
- Sources
-
-
Environment Variable
-
helmchart ConfigMap: keycloak-configmap
-
KEYCLOAK_PROXY
| Description |
When running Keycloak behind a reverse proxy (or ingress), proxy address forwarding must be enabled. Provide |
| Required |
Yes |
| Defaults to |
edge |
| Sources |
|
HTTP_PROXY
- Description
-
Proxy server used by Keycloak for outgoing HTTP requests.
- Required
-
No
- Defaults to
-
-
- Sources
-
-
Environment Variable
-
HTTPS_PROXY
- Description
-
Proxy server used by Keycloak for outgoing HTTP requests taking precedence over HTTP_PROXY no matter what scheme is used by the proxy server.
- Required
-
No
- Defaults to
-
-
- Sources
-
-
Environment Variable
-
NO_PROXY
- Description
-
Comma separated list of hostnames for which the proxy won’t be used (subdomains are excluded automatically).
- Required
-
No
- Defaults to
-
-
- Sources
-
-
Environment Variable
-
NEXEED_MACMA_KEYCLOAK_MIGRATIONS_TIMEOUT_SECONDS
| Description |
Sets the timeout in seconds for MACMA’s Keycloak migrations that run during startup. |
| Required |
No |
| Defaults to |
3600 |
| Sources |
|
NEXEED_MACMA_KEYCLOAK_QUARKUS_DEFAULT_TRANSACTION_TIMEOUT
| Description |
Sets the timeout that applies to all Keycloak transactions managed by the transaction manager; the format for durations uses the standard java.time.Duration format (https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)) |
| Required |
No |
| Defaults to |
PT3600S |
| Sources |
|
KEYCLOAK_HA_CACHE_STACK
| Description |
Valid values: jdbc-ping, kubernetes (see https://www.keycloak.org/server/caching#_transport_stacks for more details). |
| Required |
No |
| Defaults to |
kubernetes |
| Sources |
|
KEYCLOAK_SOCKET_TIMEOUT
| Description |
Socket inactivity timeout in milliseconds. Can be increased if you have integrated slow IDPs and get sporadic `Unexpected error when authenticating with identity provider` while authenticating with an identity provider _and_ you have ruled out other possibilities. |
| Required |
No |
| Defaults to |
15000 |
| Sources |
|
NEXEED_MACMA_KEYCLOAK_CONNECT_TIMEOUT_MS
| Description |
Sets the timeout (in milliseconds) when trying to make an initial socket connection for outgoing calls. |
| Required |
No |
| Defaults to |
5000 |
| Sources |
|
JAVA_TLS_DISABLE
| Description |
Disable TLS / HTTPS. Set to |
| Required |
No |
| Defaults to |
true |
| Sources |
|
USE_SYSTEM_CA_CERTS
| Description |
Import all default certificates from the Ubuntu ca-certificates package to Java. Custom certificates that are mounted to /certificates are imported as well. Required to enable TLS. |
| Required |
No |
| Defaults to |
true |
| Sources |
|
KC_OTEL
| Description |
Enable OpenTelemetry agent. |
| Required |
No |
| Defaults to |
false |
| Sources |
|
OTEL_ENABLED
| Description |
Enable OpenTelemetry agent. |
| Required |
No |
| Defaults to |
false |
| Sources |
|
OTEL_EXPORTER_OTLP_ENDPOINT
| Description |
URL of the elastic APM server. |
| Required |
Yes (if enabled by OTEL_ENABLED) |
| Defaults to |
- |
| Sources |
|
OTEL_LOGS_EXPORTER
| Description |
Logs exporter to be used. |
| Required |
No |
| Defaults to |
none |
| Sources |
|
OTEL_METRICS_EXPORTER
| Description |
Metrics exporter to be used. |
| Required |
No |
| Defaults to |
none |
| Sources |
|
OTEL_TRACES_EXPORTER
| Description |
Traces exporter to be used. |
| Required |
No |
| Defaults to |
none |
| Sources |
|
OTEL_EXPORTER_OTLP_PROTOCOL
| Description |
The transport protocol of OpenTelemetry Exporter. |
| Required |
No |
| Defaults to |
grpc |
| Sources |
|
OTEL_TRACES_SAMPLER
| Description |
Specifies the Sampler used to sample traces by the OpenTelemetry SDK. |
| Required |
No |
| Defaults to |
parentbased_always_on |
| Sources |
|
OTEL_TRACES_SAMPLER_ARG
| Description |
Specifies argument for the trace smapler. Each Sampler type defines its own expected input. |
| Required |
No |
| Defaults to |
- |
| Sources |
|
OTEL_RESOURCE_ATTRIBUTES
| Description |
Key-value pairs to be used as resource attributes for OpenTelemetry SDK, containing e.g. service.name, service.version, deployment.environment. |
| Required |
Yes (if enabled by OTEL_ENABLED) |
| Defaults to |
- |
| Sources |
|
OTEL_EXPORTER_OTLP_HEADERS
| Description |
Header of OpenTelemetry exporter including authentication at the APM server. |
| Required |
Yes (if enabled by OTEL_ENABLED) |
| Defaults to |
- |
| Sources |
|
ROOT_LOGLEVEL
| Description |
Default loglevel except for the following explicit settings. |
| Required |
No |
| Defaults to |
WARN |
| Sources |
|
KEYCLOAK_LOGLEVEL
| Description |
Loglevel for everything Keycloak |
| Required |
No |
| Defaults to |
WARN |
| Sources |
|
INFINISPAN_LOGLEVEL
| Description |
Loglevel for keycloak infinispan cache logger. |
| Required |
No |
| Defaults to |
WARN |
| Sources |
|
JGROUPS_LOGLEVEL
| Description |
Loglevel for JGroups |
| Required |
No |
| Defaults to |
WARN |
| Sources |
|
NEXEED_MACMA_KEYCLOAK_INFINISPAN_CACHE_STATISTICS
| Description |
Enable cache statistics on the /metrics endpoint. |
| Required |
No |
| Defaults to |
false |
| Sources |
|
NEXEED_MACMA_KEYCLOAK_INFINISPAN_REALM_CACHE_SIZE
| Description |
Size of cache persisted realm data. |
| Required |
No |
| Defaults to |
10000 |
| Sources |
|
NEXEED_MACMA_KEYCLOAK_INFINISPAN_REALM_CACHE_MAX_IDLE
| Description |
Specifies the maximum amount of time, in milliseconds, that realm data cache entries can remain idle. Can be disabled with a value of -1. |
| Required |
No |
| Defaults to |
-1 |
| Sources |
|
NEXEED_MACMA_KEYCLOAK_INFINISPAN_USERS_CACHE_SIZE
| Description |
Size of cache persisted users data |
| Required |
No |
| Defaults to |
10000 |
| Sources |
|
NEXEED_MACMA_KEYCLOAK_INFINISPAN_USERS_CACHE_MAX_IDLE
| Description |
Specifies the maximum amount of time, in milliseconds, that users data cache entries can remain idle. Can be disabled with a value of -1. |
| Required |
No |
| Defaults to |
-1 |
| Sources |
|
NEXEED_MACMA_KEYCLOAK_INFINISPAN_AUTHORIZATION_CACHE_SIZE
| Description |
Size of cache persisted authorization data. |
| Required |
No |
| Defaults to |
10000 |
| Sources |
|
NEXEED_MACMA_KEYCLOAK_INFINISPAN_AUTHORIZATION_CACHE_MAX_IDLE
| Description |
Specifies the maximum amount of time, in milliseconds, that authorization data cache entries can remain idle. Can be disabled with a value of -1. |
| Required |
No |
| Defaults to |
-1 |
| Sources |
|
NEXEED_MACMA_KEYCLOAK_INFINISPAN_KEYS_CACHE_SIZE
| Description |
Size of cache persisted external public keys. |
| Required |
No |
| Defaults to |
1000 |
| Sources |
|
NEXEED_MACMA_KEYCLOAK_INFINISPAN_KEYS_CACHE_MAX_IDLE
| Description |
Specifies the maximum amount of time, in milliseconds, that keys data cache entries can remain idle. Can be disabled with a value of -1. |
| Required |
No |
| Defaults to |
3600000 |
| Sources |
|
NEXEED_MACMA_KEYCLOAK_INFINISPAN_REPL_CACHE_REMOTE_TIMEOUT
| Description |
The timeout (in ms) used to wait for an acknowledgment when making a remote call to another keycloak instance, after which the call is aborted and an exception is thrown. |
| Required |
No |
| Defaults to |
15000 |
| Sources |
|
NEXEED_MACMA_KEYCLOAK_INFINISPAN_REPL_CACHE_LOCK_ACQUISITION_TIMEOUT
| Description |
Maximum time to attempt a particular lock acquisition. |
| Required |
No |
| Defaults to |
10000 |
| Sources |
|
NEXEED_MACMA_KEYCLOAK_INFINISPAN_SESSIONS_CACHE_SIZE
| Description |
Size of cache persisted user session data. |
| Required |
No |
| Defaults to |
10000 |
| Sources |
|
NEXEED_MACMA_KEYCLOAK_INFINISPAN_CLIENT_SESSIONS_CACHE_SIZE
| Description |
Size of cache persisted client session data. |
| Required |
No |
| Defaults to |
10000 |
| Sources |
|
NEXEED_MACMA_KEYCLOAK_INFINISPAN_OFFLINE_SESSIONS_CACHE_SIZE
| Description |
Size of cache persisted offline user session data. |
| Required |
No |
| Defaults to |
10000 |
| Sources |
|
NEXEED_MACMA_KEYCLOAK_INFINISPAN_OFFLINE_CLIENT_SESSIONS_CACHE_SIZE
| Description |
Size of cache persisted offline client session data. |
| Required |
No |
| Defaults to |
10000 |
| Sources |
|
NEXEED_MACMA_KEYCLOAK_INFINISPAN_CRL_CACHE_SIZE
| Description |
Size of cache X.509 authenticator data. |
| Required |
No |
| Defaults to |
10000 |
| Sources |
|
NEXEED_MACMA_KEYCLOAK_INFINISPAN_LOCKING
| Description |
The locking mode for all keycloak infinispan cache, one of OPTIMISTIC or PESSIMISTIC. |
| Required |
No |
| Defaults to |
OPTIMISTIC |
| Sources |
|
NEXEED_MACMA_KEYCLOAK_INITIAL_RAM_PERCENTAGE
| Description |
Specify the initial Java heap size percentage from the containers limit (optional, default is `20`) |
| Required |
No |
| Defaults to |
20 |
| Sources |
|
NEXEED_MACMA_KEYCLOAK_MAX_RAM_PERCENTAGE
| Description |
Specify the maximum Java heap size percentage from the containers limit (optional, default is `80`) |
| Required |
No |
| Defaults to |
80 |
| Sources |
|
NEXEED_MACMA_KEYCLOAK_LIQUIBASE_DEFAULT_INDEX_CREATION_THRESHOLD
| Description |
If the number of records in a database table exceeds this threshold, the index is not created. Instead, you will find a warning in the server logs with the SQL commands that you can apply manually. To disable this threshold set a value ≤ 0. (optional, default is `0`) |
| Required |
No |
| Defaults to |
0 |
| Sources |
|
NEXEED_MACMA_KEYCLOAK_MICROSOFT_GRAPH_API_BASE_URL
| Description |
Base URL for Microsoft Graph API |
| Required |
No |
| Defaults to | |
| Sources |
|
NEXEED_MACMA_KEYCLOAK_BRUTE_FORCE_DETECTOR_ALLOW_CONCURRENT_REQUESTS
| Description |
If this is disabled the Brute Force Protector will reject all login attempts (including correct password attempts) that occur while another login is in progress in the same server. |
| Required |
No |
| Defaults to |
true |
| Sources |
|
FRAME_ANCESTORS_ADD
| Description |
Comma sepreated list of allowed frame ancestors in the CSP Header. |
| Required |
No |
| Sources |
|
FRAME_ANCESTORS_REMOVE
| Description |
Comma separated list of frame ancestors to be removed from the CSP Header. |
| Required |
No |
| Sources |
|
NEXEED_MACMA_KEYCLOAK_SHUTDOWN_TIMEOUT
| Description |
The timeout to wait for running requests to finish. If this is not set then the application will exit immediately. Setting this timeout will incur a small performance penalty, as it requires active requests to be tracked. |
| Required |
No |
| Defaults to |
45 |
| Sources |
|
NEXEED_MACMA_KEYCLOAK_SHUTDOWN_DELAY_ENABLED
| Description |
Flag to enable a delay where Keycloak initiates a shutdown. |
| Required |
No |
| Defaults to |
false |
| Sources |
|
NEXEED_MACMA_KEYCLOAK_SHUTDOWN_DELAY
| Description |
Delay between shutdown being requested and actually initiated (pre-shutdwon phase). In pre-shutdown, the server continues working as usual, except a readiness probe starts reporting "down". Useful to give infrastructure time to detect and react. Only applied when delay is enabled. |
| Required |
No |
| Defaults to |
15 |
| Sources |
|