withFederatedManagedIdentityCredential

Method
📦 Aspire.Hosting.Azure.EntraId v17.0.0-preview.1.26567.5
interface EntraIdApplicationResource {
// ... 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.
optionsEntraIdTokenExchangeOptionsoptionalOptional token exchange settings.
EntraIdApplicationResource

Applies to

This method applies to the following types: