# EntraIdApplicationResource.WithSendX5C

- Module: [Aspire.Hosting.Azure.EntraId](/reference/api/go/aspire.hosting.azure.entraid.md)
- Defined on: [EntraIdApplicationResource](/reference/api/go/aspire.hosting.azure.entraid/entraidapplicationresource.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `method`

Sends the `x5c` claim (the public key of the certificate) with token requests.

## Remarks

Sending `x5c` enables certificate rollover without redeploying the application. It only applies
to certificate-based credentials and increases the size of each token request, so it is opt-in.

## Definition

```go
type EntraIdApplicationResource interface {
    // ... omitted for brevity
    WithSendX5C() EntraIdApplicationResource
}
```

## Signature

```go
WithSendX5C() EntraIdApplicationResource
```

## Returns

[`EntraIdApplicationResource`](/reference/api/go/aspire.hosting.azure.entraid/entraidapplicationresource.md) -- The resource builder for chaining.

Returns a handle; failures surface later via `Err()`.

## Defined on

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