Skip to content
DocsTry Aspire
DocsTry

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

methodwithPostgresbuilder
withPostgres(
database: PostgresDatabaseResource,
username?: ParameterResource,
password?: ParameterResource,
xaEnabled?: boolean): KeycloakResource
databasePostgresDatabaseResource
usernameParameterResourceoptional
passwordParameterResourceoptional
xaEnabledbooleanoptional= False
KeycloakResource

Applies to

This method applies to the following types: