Skip to content
Docs Try Aspire
Docs Try

withPostgres

Method
📦 CommunityToolkit.Aspire.Hosting.Keycloak.Extensions v13.4.0-preview.1.260602-0230
interface KeycloakResource {
// ... omitted for brevity
withPostgres(
database: PostgresDatabaseResource,
username?: ParameterResource,
password?: ParameterResource,
xaEnabled?: boolean): KeycloakResource;
}

Signature

method withPostgres builder
withPostgres(
database: PostgresDatabaseResource,
username?: ParameterResource,
password?: ParameterResource,
xaEnabled?: boolean): KeycloakResource
database PostgresDatabaseResource
username ParameterResource optional
password ParameterResource optional
xaEnabled boolean optional = False
KeycloakResource

Applies to

This method applies to the following types: