WithEntraIdReference
Method
func (ResourceWithEnvironment) WithEntraIdReference( source EntraIdApplicationResource, options ...*WithEntraIdReferenceOptions,) ResourceWithEnvironmentSignature
method
WithEntraIdReference builderInjects Entra ID authentication configuration into a consuming resource and sets the prefix of its DownstreamApis entries.
WithEntraIdReference( source EntraIdApplicationResource, options ...*WithEntraIdReferenceOptions,) ResourceWithEnvironmentParameters
sourceEntraIdApplicationResource The Entra ID application resource to reference.options...*WithEntraIdReferenceOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithEntraIdReferenceOptions argument.
ConnectionName *stringThe environment variable prefix. Defaults to AzureAd for .NET program resources and the registration's name otherwise.DownstreamApisPrefix *stringThe configuration prefix of the DownstreamApis entries. Defaults to DownstreamApis.Returns
ResourceWithEnvironment The resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types:
type
CSharpAppResourcetype
ContainerResourcetype
DotnetToolResourcetype
ExecutableResourcetype
ProjectResource