Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithSignedAssertionFile

Method
📦 Aspire.Hosting.Azure.EntraId v17.0.0-preview.1.26565.2
func (EntraIdApplicationResource) WithSignedAssertionFile(options ...*WithSignedAssertionFileOptions) EntraIdApplicationResource

Signature

methodWithSignedAssertionFilebuilder
Appends a signed assertion file credential, such as an AKS workload identity token.
WithSignedAssertionFile(options ...*WithSignedAssertionFileOptions) EntraIdApplicationResource
options...*WithSignedAssertionFileOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithSignedAssertionFileOptions argument.

FilePath*stringThe token file path on the consumer. Omit to use the consumer's AZURE_FEDERATED_TOKEN_FILE setting.
EntraIdApplicationResource

The registration builder.

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

Applies to

This method applies to the following types: