Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2017,6 +2017,7 @@
}
},
"description": "Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure Powershell (instead of directly).",
"x-ms-long-running-operation": true,
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
Expand Down Expand Up @@ -2047,6 +2048,9 @@
}
],
"responses": {
"202": {
"description": "The client encryption key create or update operation will complete asynchronously."
},
"200": {
"description": "The client encryption key create or update operation was completed successfully.",
"schema": {
Expand Down Expand Up @@ -8132,6 +8136,10 @@
"type": "object",
"description": "Cosmos DB client encryption key resource object.",
"properties": {
"id": {
"type": "string",
"description": "Name of the ClientEncryptionKey"
},
"encryptionAlgorithm": {
"type": "string",
"description": "Encryption algorithm that will be used along with this client encryption key to encrypt/decrypt data."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"createUpdateClientEncryptionKeyParameters": {
"properties": {
"resource": {
"id": "cekName",
"encryptionAlgorithm": "AEAD_AES_256_CBC_HMAC_SHA256",
"wrappedDataEncryptionKey": "This is actually an array of bytes. This request/response is being presented as a string for readability in the example",
"keyWrapMetadata": {
Expand All @@ -28,6 +29,7 @@
"type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/clientEncryptionKey",
"properties": {
"resource": {
"id": "cekName",
"encryptionAlgorithm": "AEAD_AES_256_CBC_HMAC_SHA256",
"wrappedDataEncryptionKey": "This is actually an array of bytes. This request/response is being presented as a string for readability in the example",
"keyWrapMetadata": {
Expand All @@ -41,6 +43,7 @@
}
}
}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/clientEncryptionKey",
"properties": {
"resource": {
"id": "cekName",
"encryptionAlgorithm": "AEAD_AES_256_CBC_HMAC_SHA256",
"wrappedDataEncryptionKey": "This is actually an array of bytes. This request/response is being presented as a string for readability in the example",
"keyWrapMetadata": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/clientEncryptionKey",
"properties": {
"resource": {
"id": "cekName1",
"encryptionAlgorithm": "AEAD_AES_256_CBC_HMAC_SHA256",
"wrappedDataEncryptionKey": "This is actually an array of bytes. This request/response is being presented as a string for readability in the example",
"keyWrapMetadata": {
Expand All @@ -35,6 +36,7 @@
"type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/clientEncryptionKey",
"properties": {
"resource": {
"id": "cekName2",
"encryptionAlgorithm": "AEAD_AES_256_CBC_HMAC_SHA256",
"wrappedDataEncryptionKey": "This is actually an array of bytes. This request/response is being presented as a string for readability in the example",
"keyWrapMetadata": {
Expand Down