KeycloakResource
Handle
interface KeycloakResource extends IComputeResource, IResource, IResourceWithArgs, IResourceWithEndpoints, IResourceWithEnvironment, IResourceWithProbes, IResourceWithWaitSupport, IResourceWithServiceDiscovery { readonly adminPasswordParameter: ParameterResource; readonly adminUserNameParameter: ParameterResource; readonly resourceTypeDisplayName: string; withDataBindMount(source: string): KeycloakResource; withDataVolume(name?: string): KeycloakResource; withDisabledFeatures(features: string[]): KeycloakResource; withEnabledFeatures(features: string[]): KeycloakResource; withOtlpExporter(protocol?: OtlpProtocol): KeycloakResource; withRealmImport(importPath: string): KeycloakResource;}9 members
Properties
property
adminPasswordParameter ParameterResource getGets the parameter that contains the Keycloak admin password.
property
adminUserNameParameter ParameterResource getGets the parameter that contains the Keycloak admin.
property
resourceTypeDisplayName stringgetGets the ResourceTypeDisplayName property
Methods
Adds a bind mount for the data folder to a Keycloak container resource.
withDataBindMount(source: string): KeycloakResourceParameters
sourcestringThe source directory on the host to mount into the container.Returns
KeycloakResource Adds a named volume for the data folder to a Keycloak container resource.
withDataVolume(name?: string): KeycloakResourceParameters
namestringoptionalThe name of the volume. Defaults to an auto-generated name based on the application and resource names.Returns
KeycloakResource Additional feature names to disable for the keycloak resource
withDisabledFeatures(features: string[]): KeycloakResourceParameters
featuresstring[]Names of features to disable for the keycloak resourceReturns
KeycloakResource Additional feature names to enable for the keycloak resource
withEnabledFeatures(features: string[]): KeycloakResourceParameters
featuresstring[]Names of features to enable for the keycloak resourceReturns
KeycloakResource Configures the OTLP exporter for Keycloak
withOtlpExporter(protocol?: OtlpProtocol): KeycloakResourceParameters
protocolOtlpProtocol optionalReturns
KeycloakResource Adds a realm import to a Keycloak container resource.
withRealmImport(importPath: string): KeycloakResourceParameters
importPath stringReturns
KeycloakResource