Skip to content
Docs Try Aspire
Docs Try

withWorkloadIdentity

Method
📦 Aspire.Hosting.Azure.Kubernetes v13.3.0-preview.1.26254.5
interface AzureKubernetesEnvironmentResource {
// ... omitted for brevity
withWorkloadIdentity(enabled?: boolean): AzureKubernetesEnvironmentResource;
}

Signature

method withWorkloadIdentity builder
Enables workload identity on the AKS cluster
withWorkloadIdentity(enabled?: boolean): AzureKubernetesEnvironmentResource
enabled boolean optional = True
AzureKubernetesEnvironmentResource

Applies to

This method applies to the following types: