# MicrosoftGraphKeyCredentialProxy

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

Represents the MicrosoftGraphKeyCredential Azure Provisioning model.

## Definition

```typescript
interface MicrosoftGraphKeyCredentialProxy {
  customKeyIdentifier: BicepValueProxy | string;
  displayName: BicepValueProxy | string;
  endDateTime: BicepValueProxy | string;
  key: BicepValueProxy | string;
  keyId: BicepValueProxy | string;
  startDateTime: BicepValueProxy | string;
  type: BicepValueProxy | string;
  usage: BicepValueProxy | string;
  clearCustomKeyIdentifier(): void;
  clearDisplayName(): void;
  clearEndDateTime(): void;
  clearKey(): void;
  clearKeyId(): void;
  clearStartDateTime(): void;
  clearType(): void;
  clearUsage(): void;
}
```

## Properties

- `customKeyIdentifier`: `BicepValueProxy | string` `get - set` -- Gets or sets the CustomKeyIdentifier provisioning property.
- `displayName`: `BicepValueProxy | string` `get - set` -- Gets or sets the DisplayName provisioning property.
- `endDateTime`: `BicepValueProxy | string` `get - set` -- Gets or sets the EndDateTime provisioning property.
- `key`: `BicepValueProxy | string` `get - set` -- Gets or sets the Key provisioning property.
- `keyId`: `BicepValueProxy | string` `get - set` -- Gets or sets the KeyId provisioning property.
- `startDateTime`: `BicepValueProxy | string` `get - set` -- Gets or sets the StartDateTime provisioning property.
- `type`: `BicepValueProxy | string` `get - set` -- Gets or sets the Type provisioning property.
- `usage`: `BicepValueProxy | string` `get - set` -- Gets or sets the Usage provisioning property.

## Methods

- [clearCustomKeyIdentifier](/reference/api/typescript/aspire.hosting.azure.provisioning.entraid/microsoftgraphkeycredentialproxy/clearcustomkeyidentifier.md) -- `method` -- Clears the CustomKeyIdentifier provisioning property.
    ```typescript
  clearCustomKeyIdentifier(): void
  ```
- [clearDisplayName](/reference/api/typescript/aspire.hosting.azure.provisioning.entraid/microsoftgraphkeycredentialproxy/cleardisplayname.md) -- `method` -- Clears the DisplayName provisioning property.
    ```typescript
  clearDisplayName(): void
  ```
- [clearEndDateTime](/reference/api/typescript/aspire.hosting.azure.provisioning.entraid/microsoftgraphkeycredentialproxy/clearenddatetime.md) -- `method` -- Clears the EndDateTime provisioning property.
    ```typescript
  clearEndDateTime(): void
  ```
- [clearKey](/reference/api/typescript/aspire.hosting.azure.provisioning.entraid/microsoftgraphkeycredentialproxy/clearkey.md) -- `method` -- Clears the Key provisioning property.
    ```typescript
  clearKey(): void
  ```
- [clearKeyId](/reference/api/typescript/aspire.hosting.azure.provisioning.entraid/microsoftgraphkeycredentialproxy/clearkeyid.md) -- `method` -- Clears the KeyId provisioning property.
    ```typescript
  clearKeyId(): void
  ```
- [clearStartDateTime](/reference/api/typescript/aspire.hosting.azure.provisioning.entraid/microsoftgraphkeycredentialproxy/clearstartdatetime.md) -- `method` -- Clears the StartDateTime provisioning property.
    ```typescript
  clearStartDateTime(): void
  ```
- [clearType](/reference/api/typescript/aspire.hosting.azure.provisioning.entraid/microsoftgraphkeycredentialproxy/cleartype.md) -- `method` -- Clears the Type provisioning property.
    ```typescript
  clearType(): void
  ```
- [clearUsage](/reference/api/typescript/aspire.hosting.azure.provisioning.entraid/microsoftgraphkeycredentialproxy/clearusage.md) -- `method` -- Clears the Usage provisioning property.
    ```typescript
  clearUsage(): void
  ```
