# 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/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure/AppIdentityAnnotation.cs#L20)

Gets the identity resource associated with an application.

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