# StorageAccountEncryptionProxy

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

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
  ```
