# EventHubsEncryptionProxy.clearKeySource

- Module: [Aspire.Hosting.Azure.Provisioning.EventHubs](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs.md)
- Defined on: [EventHubsEncryptionProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/eventhubsencryptionproxy.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `method`

Clears the KeySource provisioning property.

## Definition

```typescript
interface EventHubsEncryptionProxy {
  // ... omitted for brevity
  clearKeySource(): void;
}
```

## Signature

```typescript
clearKeySource(): void
```

## Defined on

- [EventHubsEncryptionProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.eventhubs/eventhubsencryptionproxy.md) -- `handle`
