# EntraIdSignedAssertionFileCredential

- 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`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.EntraId/EntraIdApplicationResource.cs)
- Inherits: [EntraIdClientCredential](/reference/api/csharp/aspire.hosting.azure.entraid/entraidclientcredential.md)

A signed assertion file credential for an Entra ID application (e.g., AKS workload identity).

## Definition

```csharp
namespace Aspire.Hosting.Azure;

public sealed class EntraIdSignedAssertionFileCredential
    : Aspire.Hosting.Azure.EntraIdClientCredential
{
    // ...
}
```

## Remarks

Maps to `SourceType = "SignedAssertionFilePath"` in Microsoft.Identity.Web configuration. If [EntraIdSignedAssertionFileCredential.FilePath](/reference/api/csharp/aspire.hosting.azure.entraid/entraidsignedassertionfilecredential/properties.md#filepath) is not provided, the `AZURE_FEDERATED_TOKEN_FILE` environment variable is used.

## Constructors

- [EntraIdSignedAssertionFileCredential](/reference/api/csharp/aspire.hosting.azure.entraid/entraidsignedassertionfilecredential/constructors.md#constructor)

## Properties

- [FilePath](/reference/api/csharp/aspire.hosting.azure.entraid/entraidsignedassertionfilecredential/properties.md#filepath) : `string?` `get; set` -- Gets or sets the path to the signed assertion file on disk.
- [SourceType](/reference/api/csharp/aspire.hosting.azure.entraid/entraidsignedassertionfilecredential/properties.md#sourcetype) : `string` `get` -- Gets the `SourceType` string used in the Microsoft.Identity.Web configuration.
