Configure Azure Key Vault
This topic describes how you use the Azure Key Vault to store the encryption keys used to configure the Always Encrypted feature for Azure SQL.
To configure Azure Key Vault:
-
Remove the
.disabledextension from thesc.Xdb.Collection.Data.Sql.KeyStoreProviders.xml.disabledfile. This enables the configuration in the file. -
In the
xconnect\App_Data\Config\Sitecore\Collection\sc.Xdb.Collection.Data.Sql.KeyStoreProviders.xmlfile, replace the value of the<ClientIdAppSettingsKey>and<ClientSecretAppSettingsKey>settings with the appropriate values from thexconnect\App_Data\Config\Sitecore\Collection\sc.Xdb.Collection.Data.Sql.KeyStoreProviders.xmlfile.NoteIf you use the default names for the applications settings and you have no custom code that requires these settings, you can use the new default names of the application settings
AzureKeyVaultClientIdandAzureKeyVaultClientSecretin thexconnect\ App_Config\AppSettings.configfile. -
Add the
.disabledextension to thexconnect\App_Data\Config\Sitecore\Collection\sc.Xdb.Collection.Data.Sql.KeyStoreProviders.xmlfile. This disables the configuration in the file.
For more information about Azure Key Vault, see Microsoft’s documentation.