Skip to content

Commit 3f6fcf3

Browse files
authored
Update create-asymmetric-key-transact-sql.md | RSA-HSM support in SQL 2022 (#33839)
* Update create-asymmetric-key-transact-sql.md related to IcM 618554163. when using Azure Key Vault Managed HSM you can create keys with algorithm RSA-HSM but this is only supported starting in SQL server 2022. this is otherwise not documented anywhere and I had a case where a customer was trying to use it in SQL 2017, which is not supported. * Update setup-steps-for-extensible-key-management-using-the-azure-key-vault.md adding a note to say we can only use RSA-HSM_2048 and RSA-HSM_3072 starting in SQL 2022. related to IcM 618554163
1 parent d96e082 commit 3f6fcf3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docs/relational-databases/security/encryption/setup-steps-for-extensible-key-management-using-the-azure-key-vault.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,8 @@ In [step 2](#step-2-create-a-key-vault), we learned how to create a key vault an
389389
> [!NOTE]
390390
> When creating a credential to access the Managed HSM, the identity is `<name of Managed HSM>.managedhsm.azure.net`, which can be found in the Azure Key Vault Managed HSM **Overview** as the **HSM URI** in the Azure portal.
391391
>
392+
> Algorithm RSA-HSM_2048 and RSA-HSM_3072 are supported starting in SQL Server 2022 (16.x).
393+
>
392394
> Automatic key rotation is supported in Azure Key Vault Managed HSM. For more information, see [Configure key auto-rotation in Azure Managed HSM](/azure/key-vault/managed-hsm/key-rotation).
393395
>
394396
> [SQL Server Connector version 15.0.2000.440](https://www.microsoft.com/en-us/download/details.aspx?id=45344) or later is required to support Azure Key Vault Managed HSM.

docs/t-sql/statements/create-asymmetric-key-transact-sql.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ CREATE ASYMMETRIC KEY asym_key_name
9898
Five algorithms can be provided; RSA_4096, RSA_3072, RSA_2048, RSA_1024, and RSA_512.
9999

100100
RSA_1024 and RSA_512 are deprecated. To use RSA_1024 or RSA_512 (not recommended) you must set the database to database compatibility level 120 or lower.
101+
102+
Starting in SQL Server 2022 (16.x), RSA-HSM_2048 and RSA-HSM_3072 are supported.
101103

102104
PROVIDER_KEY_NAME = '*key_name_in_provider*'
103105
Specifies the key name from the external provider.

0 commit comments

Comments
 (0)