Skip to content
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

Mark property as dirty when a KeyVault secret is updated #468

Open
israelhdz08 opened this issue Sep 26, 2023 · 1 comment
Open

Mark property as dirty when a KeyVault secret is updated #468

israelhdz08 opened this issue Sep 26, 2023 · 1 comment

Comments

@israelhdz08
Copy link

I have an Azure function that receives messages on a service bus every time an App Configuration setting is updated, and then calls ProcessPushNotification to mark the setting as dirty and ensure that the next request reloads the value.

Since some of my App Configuration settings are KeyVault references, I updated the KeyVault to send notifications to this service bus when a secret is updated, the problem is that the message can't be deserialized to a PushNotification, so the ProcessPushNotification method doesn't work in this case. The SetDirty method would be useful here, but it is no longer available. Is there a way to process these notifications using AzureAppConfigurationRefresher ?

@amerjusupovic
Copy link
Member

Hi @israelhdz08, have you already considered this option for refreshing Key Vault secrets?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants