# StorageAccountEncryptionProxy

- Module: [Aspire.Hosting.Azure.Provisioning.Storage](/reference/api/typescript/aspire.hosting.azure.provisioning.storage.md)
- Version: `13.6.0-preview.1.26478.8`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62)

Represents the StorageAccountEncryption Azure Provisioning model.

## Definition

```typescript
interface StorageAccountEncryptionProxy {
  encryptionIdentity: StorageAccountEncryptionIdentityProxy;
  keySource: BicepValueProxy | StorageAccountKeySource;
  keyVaultProperties: StorageAccountKeyVaultPropertiesProxy;
  requireInfrastructureEncryption: BicepValueProxy | boolean;
  services: StorageAccountEncryptionServicesProxy;
  clearKeySource(): void;
  clearRequireInfrastructureEncryption(): void;
}
```

## Properties

- `encryptionIdentity`: [StorageAccountEncryptionIdentityProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountencryptionidentityproxy.md) `get - set` -- Gets or sets the EncryptionIdentity provisioning property.
- `keySource`: `BicepValueProxy | StorageAccountKeySource` `get - set` -- Gets or sets the KeySource provisioning property.
- `keyVaultProperties`: [StorageAccountKeyVaultPropertiesProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountkeyvaultpropertiesproxy.md) `get - set` -- Gets or sets the KeyVaultProperties provisioning property.
- `requireInfrastructureEncryption`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the RequireInfrastructureEncryption provisioning property.
- `services`: [StorageAccountEncryptionServicesProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountencryptionservicesproxy.md) `get - set` -- Gets or sets the Services provisioning property.

## Methods

- [clearKeySource](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountencryptionproxy/clearkeysource.md) -- `method` -- Clears the KeySource provisioning property.
    ```typescript
  clearKeySource(): void
  ```
- [clearRequireInfrastructureEncryption](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/storageaccountencryptionproxy/clearrequireinfrastructureencryption.md) -- `method` -- Clears the RequireInfrastructureEncryption provisioning property.
    ```typescript
  clearRequireInfrastructureEncryption(): void
  ```
