diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2021-11-15-preview/cosmos-db.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2021-11-15-preview/cosmos-db.json index d027269b0bd7..2e559f0e2b07 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2021-11-15-preview/cosmos-db.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2021-11-15-preview/cosmos-db.json @@ -8179,6 +8179,10 @@ "value": { "type": "string", "description": "Reference / link to the KeyEncryptionKey." + }, + "algorithm": { + "type": "string", + "description": "Algorithm used in wrapping and unwrapping of the data encryption key." } } }, diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2021-11-15-preview/examples/CosmosDBSqlClientEncryptionKeyCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2021-11-15-preview/examples/CosmosDBSqlClientEncryptionKeyCreateUpdate.json index 7407a34663fd..f9b4d2a77485 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2021-11-15-preview/examples/CosmosDBSqlClientEncryptionKeyCreateUpdate.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2021-11-15-preview/examples/CosmosDBSqlClientEncryptionKeyCreateUpdate.json @@ -15,7 +15,8 @@ "keyWrapMetadata": { "name": "customerManagedKey", "type": "AzureKeyVault", - "value": "AzureKeyVault Key URL" + "value": "AzureKeyVault Key URL", + "algorithm": "RSA-OAEP" } } } @@ -35,7 +36,8 @@ "keyWrapMetadata": { "name": "customerManagedKey", "type": "AzureKeyVault", - "value": "AzureKeyVault Key URL" + "value": "AzureKeyVault Key URL", + "algorithm": "RSA-OAEP" }, "_rid": "tNc4AAAAAAAQkjzWAgAAAA==", "_ts": 1626425552, diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2021-11-15-preview/examples/CosmosDBSqlClientEncryptionKeyGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2021-11-15-preview/examples/CosmosDBSqlClientEncryptionKeyGet.json index 6a4c0907eff0..293f767419f7 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2021-11-15-preview/examples/CosmosDBSqlClientEncryptionKeyGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2021-11-15-preview/examples/CosmosDBSqlClientEncryptionKeyGet.json @@ -21,7 +21,8 @@ "keyWrapMetadata": { "name": "customerManagedKey", "type": "AzureKeyVault", - "value": "AzureKeyVault Key URL" + "value": "AzureKeyVault Key URL", + "algorithm": "RSA-OAEP" }, "_rid": "tNc4AAAAAAAQkjzWAgAAAA==", "_ts": 1626425552, diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2021-11-15-preview/examples/CosmosDBSqlClientEncryptionKeysList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2021-11-15-preview/examples/CosmosDBSqlClientEncryptionKeysList.json index 78d8d467923a..ca7691c7d19d 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2021-11-15-preview/examples/CosmosDBSqlClientEncryptionKeysList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2021-11-15-preview/examples/CosmosDBSqlClientEncryptionKeysList.json @@ -22,7 +22,8 @@ "keyWrapMetadata": { "name": "customerManagedKey1", "type": "AzureKeyVault", - "value": "AzureKeyVault Key URL for customerManagedKey1" + "value": "AzureKeyVault Key URL for customerManagedKey1", + "algorithm": "RSA-OAEP" }, "_rid": "nAMyAAAAAADPw1kKAgAAAA==", "_ts": 1626425552, @@ -42,7 +43,8 @@ "keyWrapMetadata": { "name": "customerManagedKey2", "type": "AzureKeyVault", - "value": "AzureKeyVault Key URL for customerManagedKey2" + "value": "AzureKeyVault Key URL for customerManagedKey2", + "algorithm": "RSA-OAEP" }, "_rid": "nAMyAAAAAAAWWfxHAgAAAA==", "_ts": 1626425631,