Skip to content

Commit

Permalink
[CosmosDB][2021-11-15-preview] Client Side Encryption - Added new alg…
Browse files Browse the repository at this point in the history
…orithm field in KeyWrapMetadata . (Azure#18001)

* Add new algorithm field to KeyWrapMetadata.

* Updated Client Encryption Key examples.

* fixed algorithm in example.

* fixed algo name.
  • Loading branch information
kr-santosh authored and FredericHeem committed Mar 7, 2022
1 parent 09047d8 commit 1e635db
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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."
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"keyWrapMetadata": {
"name": "customerManagedKey",
"type": "AzureKeyVault",
"value": "AzureKeyVault Key URL"
"value": "AzureKeyVault Key URL",
"algorithm": "RSA-OAEP"
}
}
}
Expand All @@ -35,7 +36,8 @@
"keyWrapMetadata": {
"name": "customerManagedKey",
"type": "AzureKeyVault",
"value": "AzureKeyVault Key URL"
"value": "AzureKeyVault Key URL",
"algorithm": "RSA-OAEP"
},
"_rid": "tNc4AAAAAAAQkjzWAgAAAA==",
"_ts": 1626425552,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"keyWrapMetadata": {
"name": "customerManagedKey",
"type": "AzureKeyVault",
"value": "AzureKeyVault Key URL"
"value": "AzureKeyVault Key URL",
"algorithm": "RSA-OAEP"
},
"_rid": "tNc4AAAAAAAQkjzWAgAAAA==",
"_ts": 1626425552,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 1e635db

Please sign in to comment.