addKeycloak

Method
📦 Aspire.Hosting.Keycloak v17.0.0-preview.1.26567.5
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addKeycloak(
name: string,
port?: number,
adminUsername?: ParameterResource,
adminPassword?: ParameterResource): KeycloakResource;
}

Signature

methodaddKeycloakbuilder
Adds a Keycloak container to the application model.
addKeycloak(
name: string,
port?: number,
adminUsername?: ParameterResource,
adminPassword?: ParameterResource): KeycloakResource
namestringThe name of the resource.
portnumberoptionalThe host port that the underlying container is bound to when running locally.
adminUsernameParameterResourceoptionalThe parameter used as the admin for the Keycloak resource. If `null` a default value will be used.
adminPasswordParameterResourceoptionalThe parameter used as the admin password for the Keycloak resource. If `null` a default password will be used.
KeycloakResource

Applies to

This method applies to the following types: