withEntraIdReference
Method
interface ContainerResource { // ... omitted for brevity withEntraIdReference( source: EntraIdApplicationResource, connectionName?: string, downstreamApisPrefix?: string): IResourceWithEnvironment;}Signature
method
withEntraIdReference builderInjects Entra ID authentication configuration into a consuming resource and sets the prefix of its DownstreamApis entries.
withEntraIdReference( source: EntraIdApplicationResource, connectionName?: string, downstreamApisPrefix?: string): IResourceWithEnvironmentParameters
sourceEntraIdApplicationResource The Entra ID application resource to reference.connectionName stringoptionalThe environment variable prefix. Defaults to AzureAd for .NET program resources and the registration's name otherwise.downstreamApisPrefix stringoptionalThe configuration prefix of the DownstreamApis entries. Defaults to DownstreamApis.Returns
IResourceWithEnvironment Applies to
This method applies to the following types: