Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithExistingDatabase

Method
📦 CommunityToolkit.Aspire.Hosting.Zitadel v13.6.1
func (ZitadelResource) WithExistingDatabase(database PostgresDatabaseResource) ZitadelResource

Signature

methodWithExistingDatabasebuilder
Adds database support to the Zitadel resource.
WithExistingDatabase(database PostgresDatabaseResource) ZitadelResource
databasePostgresDatabaseResourceThe Postgres database resource to use for the database.
ZitadelResource

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: