-
Notifications
You must be signed in to change notification settings - Fork 5k
/
CosmosDBSqlClientEncryptionKeyCreateUpdate.json
51 lines (51 loc) · 1.63 KB
/
CosmosDBSqlClientEncryptionKeyCreateUpdate.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"parameters": {
"api-version": "2022-11-15",
"subscriptionId": "subId",
"resourceGroupName": "rgName",
"accountName": "accountName",
"databaseName": "databaseName",
"clientEncryptionKeyName": "cekName",
"createUpdateClientEncryptionKeyParameters": {
"properties": {
"resource": {
"id": "cekName",
"encryptionAlgorithm": "AEAD_AES_256_CBC_HMAC_SHA256",
"wrappedDataEncryptionKey": "U3dhZ2dlciByb2Nrcw==",
"keyWrapMetadata": {
"name": "customerManagedKey",
"type": "AzureKeyVault",
"value": "AzureKeyVault Key URL",
"algorithm": "RSA-OAEP"
}
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.DocumentDB/databaseAccounts/accountName/sqlDatabases/databaseName/clientEncryptionKeys/cekName",
"name": "cekName",
"type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/clientEncryptionKey",
"properties": {
"resource": {
"id": "cekName",
"encryptionAlgorithm": "AEAD_AES_256_CBC_HMAC_SHA256",
"wrappedDataEncryptionKey": "U3dhZ2dlciByb2Nrcw==",
"keyWrapMetadata": {
"name": "customerManagedKey",
"type": "AzureKeyVault",
"value": "AzureKeyVault Key URL",
"algorithm": "RSA-OAEP"
},
"_rid": "tNc4AAAAAAAQkjzWAgAAAA==",
"_ts": 1626425552,
"_etag": "00000000-0000-0000-7a1f-bc0828e801d7"
}
}
}
},
"202": {}
}
}