-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improvements for Offline File Cache #135
Comments
If the user connects to the App Configuration store using a connection string and specifies one or two (not all) of the three parameters
@zhenlan @MSGaryWang @jimmyca15 |
Here is a summary of the issues and proposed changes for the offline cache based on my discussion with @drago-draganov and @jimmyca15. The current plan is to address these issues together as a breaking change in the Issues with Current Implementation
Additional Feature Improvements to Offline Cache
Offline File Cache Format {
"enc_data" : "...",
"enc_algorithm": "sha256",
"data_hash": "...",
"scope": "...",
"timestamp": "...",
"signature": "..."
} var string_to_sign = enc_data + "\n" + "enc_algorithm" + "\n" + data_hash + "\n" + scope + "\n" + timestamp;
var signature = base64(HMAC(string_to_sign, sign_key)); |
Any updates on this? Did it make it into the 4.0 release? |
This didn't make it into the 4.0 release. We are working on a redesign of the feature. It involves a bit more work. We didn't want to hold the 4.0 release for this. |
Hi @bvirkler, we are evaluating how Offline Cache is used in different applications. Could you please help us understand the problem you are trying to solve by using Offline Cache? |
We're using App Configuration for apps hosted on-premises. We wanted to use offline cache to minimize the impact of a loss of connectivity to Azure. |
We decided to completely remove offline caching capabilities. Please see this announcement for more details: Azure/AppConfiguration-Announcements#20 |
When managed identity (or any AAD authentication) is used to connect to App Configuration, the user need to provide
Key
,IV
andSignKey
as 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.
The text was updated successfully, but these errors were encountered: