EntraIdApplicationResource.WithFederatedManagedIdentityCredential

Method
📦 Aspire.Hosting.Azure.EntraId v17.0.0-preview.1.26567.5
type EntraIdApplicationResource interface {
// ... omitted for brevity
WithFederatedManagedIdentityCredential(
managedIdentityClientId string,
options ...*EntraIdTokenExchangeOptions,
) EntraIdApplicationResource
}

Signature

methodWithFederatedManagedIdentityCredentialbuilder
Configures a pre-existing managed identity trust for token acquisition, without provisioning or assigning an identity.
WithFederatedManagedIdentityCredential(
managedIdentityClientId string,
options ...*EntraIdTokenExchangeOptions,
) EntraIdApplicationResource
managedIdentityClientIdstringThe client GUID of a user-assigned managed identity that the registration already trusts.
options...*EntraIdTokenExchangeOptionsOptional settings, described under Options.

Optional parameters are passed as the existing *EntraIdTokenExchangeOptions struct.

EntraIdApplicationResource

The registration builder.

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

Defined on

This method is defined on the following type: