Reputation: 3691
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.
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
Upvotes: 0
Views: 328
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