# Aspire.Hosting.Keycloak

- Module: `Aspire.Hosting.Keycloak`
- Version: `17.0.0-preview.1.26565.2`
- Import path: `apphost/modules/aspire`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)
- Functions: `7`
- Types: `1`

## Handles

- [KeycloakResource](/reference/api/go/aspire.hosting.keycloak/keycloakresource.md) -- `handle` - 9 members -- A resource that represents a Keycloak resource.

## Functions

- [AddKeycloak](/reference/api/go/aspire.hosting.keycloak/addkeycloak.md) -- `method` - on `DistributedApplicationBuilder` -- Adds a Keycloak container to the application model.
- [WithDataBindMount](/reference/api/go/aspire.hosting.keycloak/withdatabindmount.md) -- `method` - on `KeycloakResource` -- Adds a bind mount for the data folder to a Keycloak container resource.
- [WithDataVolume](/reference/api/go/aspire.hosting.keycloak/withdatavolume.md) -- `method` - on `KeycloakResource` -- Adds a named volume for the data folder to a Keycloak container resource.
- [WithDisabledFeatures](/reference/api/go/aspire.hosting.keycloak/withdisabledfeatures.md) -- `method` - on `KeycloakResource` -- Additional feature names to disable for the keycloak resource
- [WithEnabledFeatures](/reference/api/go/aspire.hosting.keycloak/withenabledfeatures.md) -- `method` - on `KeycloakResource` -- Additional feature names to enable for the keycloak resource
- [WithOtlpExporter](/reference/api/go/aspire.hosting.keycloak/withotlpexporter.md) -- `method` - on `KeycloakResource` -- Configures the OTLP exporter for Keycloak
- [WithRealmImport](/reference/api/go/aspire.hosting.keycloak/withrealmimport.md) -- `method` - on `KeycloakResource` -- Adds a realm import to a Keycloak container resource.
