I have a task to enable SQL Server database encryption with an Azure Key Vault. I follow the steps described in Set up SQL Server TDE Extensible Key Management by using Azure Key Vault.
More details as following
- In my Azure portal, I created a Key Vault, named DB-Encryption-POC and added a Key management Access policy with all permissions.
- In the Key vault I created a RSA 2048 Key named DBEncryptionKey1
- In Active Directory I registered an App named test-keyvault
- In Key Vault DB-Encryption-POC, I added a Key management Access policy with all permissions and set the service principal as test-keyvault. I hope this will hook my app test-keyvault with the access permissions
- In the App test-keyvault, I created a secret
Best Answer
You said in 2. you created an rsa 2048 key named DBEncryptionKey1, but the error shows you are trying to find a key named EncryptionDBKey1, looks like at the very least the name is mismatched?