-
Notifications
You must be signed in to change notification settings - Fork 4
Description
If a service requires the key, how is the refreshing set up? Your solution only tells us something about the providing side.
I guess one must implement a refresh mechanism inside the consumer. In the case for app service would this mean a forced / scheduled restart? Or is app service monitoring key vault reference refreshes and is the app workload potentially able to receive these updates without restart?
https://docs.microsoft.com/en-us/azure/app-service/app-service-key-vault-references#rotation
If a version is not specified in the reference, then the app will use the latest version that exists in Key Vault. When newer versions become available, such as with a rotation event, the app will automatically update and begin using the latest version within one day. Any configuration changes made to the app will cause an immediate update to the latest versions of all referenced secrets.
Based on this documentation, it seems that app service enforces a restart within 1 day.