withPostgres
Method
interface KeycloakResource { // ... omitted for brevity withPostgres( database: PostgresDatabaseResource, username?: ParameterResource, password?: ParameterResource, xaEnabled?: boolean): KeycloakResource;}Signature
method
withPostgres builderwithPostgres( database: PostgresDatabaseResource, username?: ParameterResource, password?: ParameterResource, xaEnabled?: boolean): KeycloakResourceParameters
databasePostgresDatabaseResource The resource builder for the Postgres database that Keycloak will connect to.usernameParameterResource optional(Optional) The resource builder for the parameter defining the database username. If not provided, the parent database resource's username parameter will be used.passwordParameterResource optional(Optional) The resource builder for the parameter defining the database password. If not provided, the parent database resource's password parameter will be used.xaEnabled booleanoptional= FalseA boolean flag indicating whether XA transactions are enabled. Defaults to false.Returns
KeycloakResource Applies to
This method applies to the following types: