Skip to content

Commit 653c666

Browse files
author
Dave Cuthbert
authored
DOCSP-24443 wrong keyId type (#1613)
* DOCSP-24443 wrong keyId type * Review Feedback * Review feedback
1 parent e8551d5 commit 653c666

16 files changed

+7
-122
lines changed

source/includes/fundamentals/encrypt-keyword.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"encrypt": {
33
"algorithm": "<encryption algorithm to use>",
44
"bsonType": "<bson type of field>",
5-
"keyId": [UUID("<UUID of Data Encryption Key to encrypt and decrypt this document>")]
5+
"keyId": [UUID("<_id of your Data Encryption Key>" )]
66
}
77
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"bsonType": "object",
22
"encryptMetadata": {
33
"algorithm": "<encryption algorithm inherited by children of properties field>",
4-
"keyId": [UUID("<UUID of Data Encryption Key inherited by children of properties field>")]
4+
"keyId": [UUID("<_id of your Data Encryption Key>" )]
55
},
66
"properties": { <object to inherit encryptMetadata values> }

source/includes/fundamentals/patternProperties-keyword.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
"encrypt": {
55
"algorithm": "<encryption algorithm to use>",
66
"bsonType": "<bson type of field>",
7-
"keyId": [UUID("<UUID of Data Encryption Key to encrypt and decrypt this document>")]
7+
"keyId": [UUID("<_id of your Data Encryption Key>" )]
88
}
99
}

source/includes/queryable-encryption/fundamentals/encrypt-keyword.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

source/includes/queryable-encryption/fundamentals/encryptmetadata-keyword.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

source/includes/queryable-encryption/quick-start/schema/bloodType.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

source/includes/queryable-encryption/quick-start/schema/further-reading-note.rst

Lines changed: 0 additions & 5 deletions
This file was deleted.

source/includes/queryable-encryption/quick-start/schema/inserted-doc.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

source/includes/queryable-encryption/quick-start/schema/insurancePolicyNumber.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

source/includes/queryable-encryption/quick-start/schema/medicalRecords.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

source/includes/queryable-encryption/quick-start/schema/metadata.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

source/includes/queryable-encryption/quick-start/schema/namespace.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

source/includes/queryable-encryption/quick-start/schema/schema.json

Lines changed: 0 additions & 39 deletions
This file was deleted.

source/includes/queryable-encryption/quick-start/schema/ssn.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

source/includes/quick-start/schema/metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"medicalRecords.patients": {
33
"bsonType": "object",
44
"encryptMetadata": {
5-
"keyId": { "$oid": "<_id of your Data Encryption Key>" }
6-
},
5+
"keyId": [UUID("<_id of your Data Encryption Key>" )]
6+
},
77
"properties": {
88
<the schema created in the following steps of this example>
99
}

source/includes/quick-start/schema/schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"medicalRecords.patients": {
33
"bsonType": "object",
44
"encryptMetadata": {
5-
"keyId": { "$oid": "<_id of your Data Encryption Key>" }
6-
},
5+
"keyId": [UUID("<_id of your Data Encryption Key>" )]
6+
},
77
"properties": {
88
"insurance": {
99
"bsonType": "object",

0 commit comments

Comments
 (0)