withWorkloadIdentity

Method
📦 Aspire.Hosting.Azure.Kubernetes v17.0.0
interface AzureKubernetesEnvironmentResource {
// ... omitted for brevity
withWorkloadIdentity(enabled?: boolean): AzureKubernetesEnvironmentResource;
}

Signature

methodwithWorkloadIdentitybuilder
Enables or disables workload identity on the AKS environment, allowing pods to authenticate to Azure services using federated credentials.
withWorkloadIdentity(enabled?: boolean): AzureKubernetesEnvironmentResource
enabledbooleanoptional= True`true` to enable workload identity (the default); `false` to disable it.
AzureKubernetesEnvironmentResource

Applies to

This method applies to the following types: