# MicrosoftGraphFederatedIdentityCredential

- Kind: `class`
- Package: [Aspire.Hosting.Azure.EntraId](/reference/api/csharp/aspire.hosting.azure.entraid.md)
- Version: `17.0.0-preview.1.26567.5`
- Namespace: `Aspire.Hosting.Azure.EntraId.Provisioning`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/Provisioning/MicrosoftGraphFederatedIdentityCredential.cs)
- Inherits: `ProvisionableResource`

Models a federated identity credential on an Entra application registration.

## Definition

```csharp
namespace Aspire.Hosting.Azure.EntraId.Provisioning;

public sealed class MicrosoftGraphFederatedIdentityCredential
    : Azure.Provisioning.Primitives.ProvisionableResource
{
    // ...
}
```

## Remarks

The Microsoft Graph Bicep extension names a child resource as `'{applicationUniqueName}/{credentialName}'`. See [https://learn.microsoft.com/graph/templates/bicep/reference/applications/federatedidentitycredentials](https://learn.microsoft.com/graph/templates/bicep/reference/applications/federatedidentitycredentials).

## Constructors

- [MicrosoftGraphFederatedIdentityCredential(string)](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphfederatedidentitycredential/constructors.md#constructor-string) -- Models a federated identity credential on an Entra application registration.

## Properties

- [Audiences](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphfederatedidentitycredential/properties.md#audiences) : `BicepList<string>` `get; set` -- Gets or sets the audiences accepted for token exchange.
- [Issuer](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphfederatedidentitycredential/properties.md#issuer) : `BicepValue<string>` `get; set` -- Gets or sets the trusted token issuer URL.
- [Name](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphfederatedidentitycredential/properties.md#name) : `BicepValue<string>` `get; set` -- Gets or sets the child resource name as `{applicationUniqueName}/{credentialName}`.
- [Subject](/reference/api/csharp/aspire.hosting.azure.entraid/microsoftgraphfederatedidentitycredential/properties.md#subject) : `BicepValue<string>` `get; set` -- Gets or sets the subject claim identifying the trusted workload.
