# AppIdentityAnnotation Properties

- Package: [Aspire.Hosting.Azure](/reference/api/csharp/aspire.hosting.azure.md)
- Type: [AppIdentityAnnotation](/reference/api/csharp/aspire.hosting.azure/appidentityannotation.md)
- Kind: `Properties`
- Members: `1`

An annotation for an application's identity resource.

## IdentityResource

- Name: `IdentityResource`
- Modifiers: `get`
- Returns: [IAppIdentityResource](/reference/api/csharp/aspire.hosting.azure/iappidentityresource.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting.Azure/AppIdentityAnnotation.cs#L20)

Gets the identity resource associated with an application.

```csharp
public IAppIdentityResource IdentityResource { get; }
```
