Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddZitadel

Method
📦 CommunityToolkit.Aspire.Hosting.Zitadel v13.6.1
func (DistributedApplicationBuilder) AddZitadel(
name string,
options ...*AddZitadelOptions,
) ZitadelResource

Signature

methodAddZitadelbuilder
Adds a Zitadel container resource
AddZitadel(
name string,
options ...*AddZitadelOptions,
) ZitadelResource
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.
options...*AddZitadelOptionsOptional settings, described under Options.

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

Port*float64The host port used when launching the container. If null a random port will be assigned
Username*ParameterResourceAn optional parameter to set a username for the admin account, if null will auto generate one.
Password*ParameterResourceAn optional parameter to set a password for the admin account, if null will auto generate one.
MasterKey*ParameterResourceAn optional parameter to set the masterkey, if null will auto generate one.
ZitadelResource

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

Applies to

This method applies to the following types:

typeDistributedApplicationBuilder