# IAppIdentityResource Properties

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

An Azure resource that represents an application's managed identity.

## ClientId

- Name: `ClientId`
- Modifiers: `abstract` `get`
- Returns: [BicepOutputReference](/reference/api/csharp/aspire.hosting.azure/bicepoutputreference.md)

Gets the unique identifier for the application client associated with the managed identity.

```csharp
public abstract BicepOutputReference ClientId { get; }
```

## Id

- Name: `Id`
- Modifiers: `abstract` `get`
- Returns: [BicepOutputReference](/reference/api/csharp/aspire.hosting.azure/bicepoutputreference.md)

Gets the unique identifier for the managed identity resource.

```csharp
public abstract BicepOutputReference Id { get; }
```

## PrincipalId

- Name: `PrincipalId`
- Modifiers: `abstract` `get`
- Returns: [BicepOutputReference](/reference/api/csharp/aspire.hosting.azure/bicepoutputreference.md)

Gets the unique identifier for the security principal associated with the managed identity.

```csharp
public abstract BicepOutputReference PrincipalId { get; }
```

## PrincipalName

- Name: `PrincipalName`
- Modifiers: `abstract` `get`
- Returns: [BicepOutputReference](/reference/api/csharp/aspire.hosting.azure/bicepoutputreference.md)

Gets the name of the security principal associated with the managed identity.

```csharp
public abstract BicepOutputReference PrincipalName { get; }
```
