# AppIdentityAnnotation Constructors

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

An annotation for an application's identity resource.

## AppIdentityAnnotation(IAppIdentityResource)

- Name: `Constructor(IAppIdentityResource)`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure/AppIdentityAnnotation.cs#L15-L20)

An annotation for an application's identity resource.

```csharp
public class AppIdentityAnnotation
{
    public AppIdentityAnnotation(
        IAppIdentityResource identityResource)
    {
        // ...
    }
}
```

## Parameters

- `identityResource` ([IAppIdentityResource](/reference/api/csharp/aspire.hosting.azure/iappidentityresource.md))
  The identity resource associated with the application.

## Remarks

The identity resource represents the Azure managed identity associated with the application.
