Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

ZitadelResource

Handle
📦 CommunityToolkit.Aspire.Hosting.Zitadel v13.6.1
type ZitadelResource interface {
IComputeResource
Resource
ResourceWithArgs
ResourceWithEndpoints
ResourceWithEnvironment
ResourceWithWaitSupport
}

Methods

methodWithDatabasebuilder
Adds database support to the Zitadel resource.
WithDatabase(
server PostgresServerResource,
options ...*WithDatabaseOptions,
) ZitadelResource
serverPostgresServerResourceThe Postgres server resource to use for the database.
options...*WithDatabaseOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithDatabaseOptions argument.

DatabaseName*stringAn optional name for the database Zitadel will use, if left empty will default to "zitadel-db".
ZitadelResource

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

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().

methodWithExternalDomainbuilder
Configures the external domain for the Zitadel resource
WithExternalDomain(externalDomain string) ZitadelResource
externalDomainstringThe external domain to use (e.g., "auth.example.com"). Cannot be null or empty.
ZitadelResource

The resource builder for chaining.

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