| 
20 | 20 |         //   set the authority host. See https://learn.microsoft.com/dotnet/api/overview/azure/identity-readme  | 
21 | 21 |         //   You can test locally using the AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_SECRET env vars.  | 
22 | 22 |         "Auth": "AzureIdentity",  | 
 | 23 | +        // Optional when Auth == AzureIdentity. Leave it null to use the default.  | 
 | 24 | +        // When the service is on sovereign clouds, this setting might be necessary to configure Entra auth tokens.  | 
 | 25 | +        // See https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/formrecognizer/Azure.AI.FormRecognizer/src/DocumentAnalysisAudience.cs  | 
 | 26 | +        "AzureIdentityAudience": null,  | 
23 | 27 |         // Required when Auth == APIKey  | 
24 | 28 |         "APIKey": "",  | 
25 | 29 |         "Endpoint": ""  | 
 | 
31 | 35 |         //   set the authority host. See https://learn.microsoft.com/dotnet/api/overview/azure/identity-readme  | 
32 | 36 |         //   You can test locally using the AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_SECRET env vars.  | 
33 | 37 |         "Auth": "AzureIdentity",  | 
34 |  | -        "Endpoint": "https://<...>",  | 
 | 38 | +        // Optional when Auth == AzureIdentity. Leave it null to use the default.  | 
 | 39 | +        // When the service is on sovereign clouds, this setting might be necessary to configure Entra auth tokens.  | 
 | 40 | +        // See https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/search/Azure.Search.Documents/src/SearchAudience.cs  | 
 | 41 | +        "AzureIdentityAudience": null,  | 
 | 42 | +        // Required when Auth == APIKey  | 
35 | 43 |         "APIKey": "",  | 
 | 44 | +        "Endpoint": "https://<...>",  | 
36 | 45 |         // Hybrid search is not enabled by default. Note that when using hybrid search  | 
37 | 46 |         // relevance scores are different, usually lower, than when using just vector search  | 
38 | 47 |         "UseHybridSearch": false,  | 
 | 
55 | 64 |         //   set the authority host. See https://learn.microsoft.com/dotnet/api/overview/azure/identity-readme  | 
56 | 65 |         //   You can test locally using the AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_SECRET env vars.  | 
57 | 66 |         "Auth": "AzureIdentity",  | 
 | 67 | +        // Optional when Auth == AzureIdentity. Leave it null to use the default.  | 
 | 68 | +        // When the service is on sovereign clouds, this setting might be necessary to configure Entra auth tokens.  | 
 | 69 | +        "AzureIdentityAudience": null,  | 
58 | 70 |         // Azure Storage account name, required when using AzureIdentity auth  | 
59 | 71 |         // Note: you can use an env var 'KernelMemory__Services__AzureBlobs__Account' to set this  | 
60 | 72 |         "Account": "",  | 
 | 
71 | 83 |         // AzureIdentity: use automatic Entra (AAD) authentication mechanism.  | 
72 | 84 |         //   You can test locally using the AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_SECRET env vars.  | 
73 | 85 |         "Auth": "AzureIdentity",  | 
74 |  | -        // When the service is on sovereign clouds the AZURE_AUTHORITY_HOST env var might not work,  | 
 | 86 | +        // Optional when Auth == AzureIdentity. Leave it null to use the default.  | 
75 | 87 |         // in which case use this to change the client audience.  | 
76 |  | -        "AzureOpenAIAudience": null,  | 
 | 88 | +        "AzureIdentityAudience": null,  | 
77 | 89 |         "Endpoint": "https://<...>.openai.azure.com/",  | 
78 | 90 |         "APIKey": "",  | 
79 | 91 |         // Your Azure Deployment name  | 
 | 
106 | 118 |         // AzureIdentity: use automatic Entra (AAD) authentication mechanism.  | 
107 | 119 |         //   You can test locally using the AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_SECRET env vars.  | 
108 | 120 |         "Auth": "AzureIdentity",  | 
109 |  | -        // When the service is on sovereign clouds the AZURE_AUTHORITY_HOST env var might not work,  | 
 | 121 | +        // Optional when Auth == AzureIdentity. Leave it null to use the default.  | 
110 | 122 |         // in which case use this to change the client audience.  | 
111 |  | -        "AzureOpenAIAudience": null,  | 
 | 123 | +        "AzureIdentityAudience": null,  | 
112 | 124 |         "Endpoint": "https://<...>.openai.azure.com/",  | 
113 | 125 |         "APIKey": "",  | 
114 | 126 |         "Deployment": "",  | 
 | 
0 commit comments