When managed identity (or any AAD authentication) is used to connect to App Configuration, the user need to provide Key, IV and SignKey as part of OfflineFileCacheOptions.
We should allow OfflineFileCache used with AAD auth but throw a more helpful exception when the above condition is detected.
|
if (azconfigOptions.ConnectionString == null) |
See Azure/AppConfiguration#101 for more details fo the discussion.
When managed identity (or any AAD authentication) is used to connect to App Configuration, the user need to provide
Key,IVandSignKeyas part of OfflineFileCacheOptions.We should allow OfflineFileCache used with AAD auth but throw a more helpful exception when the above condition is detected.
AppConfiguration-DotnetProvider/src/Microsoft.Extensions.Configuration.AzureAppConfiguration/OfflineFileCache.cs
Line 247 in de3fc18
See Azure/AppConfiguration#101 for more details fo the discussion.