# withSignedAssertionFile

- Module: [Aspire.Hosting.Azure.EntraId](/reference/api/typescript/aspire.hosting.azure.entraid.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `method`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

Appends a signed assertion file credential, such as an AKS workload identity token.

## Definition

```typescript
interface EntraIdApplicationResource {
  // ... omitted for brevity
  withSignedAssertionFile(filePath?: string): EntraIdApplicationResource
}
```

## Parameters

- `filePath` (`string`) `optional`

## Returns

[EntraIdApplicationResource](/reference/api/typescript/aspire.hosting.azure.entraid/entraidapplicationresource.md) `builder`

## Applies to

- [EntraIdApplicationResource](/reference/api/typescript/aspire.hosting.azure.entraid/entraidapplicationresource.md)
