In production mode the default value of dev-file is deprecated, you should explicitly specify the db instead.
|
dev-file (default), dev-mem , mariadb , mssql , mysql , oracle , postgres , tidb
|
Add JPQL information as comments to SQL statements to debug JPA SQL statement generation.
CLI: --db-debug-jpql
Env: KC_DB_DEBUG_JPQL
|
true , false (default)
|
The fully qualified class name of the JDBC driver.
If not set, a default driver is set accordingly to the chosen database.
CLI: --db-driver
Env: KC_DB_DRIVER
|
|
db-log-slow-queries-threshold
Log SQL statements slower than the configured threshold with logger org.
hibernate.SQL_SLOW and log-level info.
CLI: --db-log-slow-queries-threshold
Env: KC_DB_LOG_SLOW_QUERIES_THRESHOLD
|
10000 (default)
|
The password of the database user.
CLI: --db-password
Env: KC_DB_PASSWORD
|
|
The initial size of the connection pool.
CLI: --db-pool-initial-size
Env: KC_DB_POOL_INITIAL_SIZE
|
|
The maximum time a connection remains in the pool, after which it will be closed upon return and replaced as necessary.
May be an ISO 8601 duration value, an integer number of seconds, or an integer followed by one of [ms, h, m, s, d].
CLI: --db-pool-max-lifetime
Env: KC_DB_POOL_MAX_LIFETIME
|
|
The maximum size of the connection pool.
CLI: --db-pool-max-size
Env: KC_DB_POOL_MAX_SIZE
|
100 (default)
|
The minimal size of the connection pool.
CLI: --db-pool-min-size
Env: KC_DB_POOL_MIN_SIZE
|
|
The database schema to be used.
CLI: --db-schema
Env: KC_DB_SCHEMA
|
|
The full database JDBC URL.
If not provided, a default URL is set based on the selected database vendor. For instance, if using postgres , the default JDBC URL would be jdbc:postgresql://localhost/keycloak .
CLI: --db-url
Env: KC_DB_URL
|
|
Sets the database name of the default JDBC URL of the chosen vendor.
If the db-url option is set, this option is ignored.
CLI: --db-url-database
Env: KC_DB_URL_DATABASE
|
|
Sets the hostname of the default JDBC URL of the chosen vendor.
If the db-url option is set, this option is ignored.
CLI: --db-url-host
Env: KC_DB_URL_HOST
|
|
Sets the port of the default JDBC URL of the chosen vendor.
If the db-url option is set, this option is ignored.
CLI: --db-url-port
Env: KC_DB_URL_PORT
|
|
Sets the properties of the default JDBC URL of the chosen vendor.
Make sure to set the properties accordingly to the format expected by the database vendor, as well as appending the right character at the beginning of this property value. If the db-url option is set, this option is ignored.
CLI: --db-url-properties
Env: KC_DB_URL_PROPERTIES
|
|
The username of the database user.
CLI: --db-username
Env: KC_DB_USERNAME
|
|
If set to true, XA datasources will be used.
CLI: --transaction-xa-enabled
Env: KC_TRANSACTION_XA_ENABLED
|
true , false (default)
|