You are developing an Azure Function App (V4 runtime) that contains a Service Bus triggered function. The function is configured with a connection property named `TelemetryServiceBus`.
Your company's security policy prohibits the use of secrets or connection strings in application settings. You must configure the Function App to connect to the Azure Service Bus namespace using a user-assigned managed identity that has the client ID `11111111-2222-3333-4444-555555555555`.
Which three application settings must you add to the Function App's configuration to establish this identity-based connection?
- TelemetryServiceBus__fullyQualifiedNamespaceCevap
- TelemetryServiceBus__credentialCevap
- TelemetryServiceBus__clientIdCevap
- DTelemetryServiceBus__identityId
- ETelemetryServiceBus__authentication
- FTelemetryServiceBus__connectionString
Cevap
TelemetryServiceBus__fullyQualifiedNamespace, TelemetryServiceBus__credential, and TelemetryServiceBus__clientId
To configure a Service Bus trigger with an identity-based connection using a user-assigned managed identity, the Azure Functions runtime requires the setting prefix 'TelemetryServiceBus' followed by double underscores and specific suffixes. The 'fullyQualifiedNamespace' suffix defines the target Service Bus resource. The 'credential' suffix set to 'managedidentity' along with 'clientId' containing the GUID of the user-assigned managed identity are required for the host to successfully authenticate using that specific identity.
Adım Adım Çözüm
Anahtar Kavram
Azure Functions Identity-Based Connections