Backingup Azure WebApp when connection string is injected through keyvault

I am using Azure Keyvault to store my connection string of a database. Using connection string options in configuration of Azure WebApps, I inject the connection string as @Microsoft.KeyVault(SecretUri=https://vaultlink....) without any problems I can access the connection string on the application side.enter image description here

However, if i try to use WebApps Backup function while connection string is set @Microsoft.KeyVault..., backup fails saying that Database connection string not valid for database secretfnlafter (SQLAzure). Keyword not supported: '@microsoft.keyvault(secreturi'. What is the correct way of backingup azure webapp when using kayvault for connection string

enter image description here

Upvotes: 0

Views: 328

Answers (1)

Joy Wang
Joy Wang

Reputation: 42133

I can reproduce your issue, seems the backup does not support the connection string references the keyvault.

You could post it as an idea in the azure feedback:https://feedback.azure.com/forums/34192--general-feedback

Upvotes: 1

Related Questions