I have been searching around and found two articles on StackOverflow with a link to an possible answer, but unfortunately the links are not working anymore.
The situation is:
Is this all possible? I was not able to find a working solution unfortunately and hoping that one of you can help me sort this out.
I tried using Azure Logic apps, i can retrieve the new secret identifier, but didn't find the possibility to pass it to the azure web app.
Yes, whenever we update the secret value, a new Secret Identifier with latest version ID is generated.
@Microsoft.KeyVault(SecretUri=https://kvharshitha.vault.azure.net/secrets/KVSecret/401****788d4a6c8****815c83)
This works only if you have a single secret value.
To avoid this, set the value only with secret name excluding the ID.
If you have more than 1 version of the Secret, then remove the Secret Identifier ID.
@Microsoft.KeyVault(SecretUri=https://kvharshitha.vault.azure.net/secrets/KVSecret/)