# ManagedClusterSecurityProfileProxy

- Module: [Aspire.Hosting.Azure.Provisioning.ContainerService](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

Represents the ManagedClusterSecurityProfile Azure Provisioning model.

## Definition

```typescript
interface ManagedClusterSecurityProfileProxy {
  azureKeyVaultKms: ManagedClusterSecurityProfileKeyVaultKmsProxy;
  defender: ManagedClusterSecurityProfileDefenderProxy;
  imageCleaner: ManagedClusterSecurityProfileImageCleanerProxy;
  infrastructureEncryption: BicepValueProxy | KubernetesResourceObjectInfrastructureEncryption;
  isWorkloadIdentityEnabled: BicepValueProxy | boolean;
  clearInfrastructureEncryption(): void;
  clearIsWorkloadIdentityEnabled(): void;
}
```

## Properties

- `azureKeyVaultKms`: [ManagedClusterSecurityProfileKeyVaultKmsProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/managedclustersecurityprofilekeyvaultkmsproxy.md) `get - set` -- Gets or sets the AzureKeyVaultKms provisioning property.
- `defender`: [ManagedClusterSecurityProfileDefenderProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/managedclustersecurityprofiledefenderproxy.md) `get - set` -- Gets or sets the Defender provisioning property.
- `imageCleaner`: [ManagedClusterSecurityProfileImageCleanerProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/managedclustersecurityprofileimagecleanerproxy.md) `get - set` -- Gets or sets the ImageCleaner provisioning property.
- `infrastructureEncryption`: `BicepValueProxy | KubernetesResourceObjectInfrastructureEncryption` `get - set` -- Gets or sets the InfrastructureEncryption provisioning property.
- `isWorkloadIdentityEnabled`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsWorkloadIdentityEnabled provisioning property.

## Methods

- [clearInfrastructureEncryption](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/managedclustersecurityprofileproxy/clearinfrastructureencryption.md) -- `method` -- Clears the InfrastructureEncryption provisioning property.
    ```typescript
  clearInfrastructureEncryption(): void
  ```
- [clearIsWorkloadIdentityEnabled](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/managedclustersecurityprofileproxy/clearisworkloadidentityenabled.md) -- `method` -- Clears the IsWorkloadIdentityEnabled provisioning property.
    ```typescript
  clearIsWorkloadIdentityEnabled(): void
  ```
