Created
October 28, 2019 15:44
-
-
Save kennwhite/598dad16e170406409e147d2734950b4 to your computer and use it in GitHub Desktop.
JSON Schema example for CSFE using metadata and json pointer keyId
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"bsonType" : "object", | |
"encryptMetadata" : { | |
"keyId" : "/userid", | |
"algorithm" : "AEAD_AES_256_CBC_HMAC_SHA_512-Random" | |
}, | |
"properties" : { | |
"ssn" : { | |
"encrypt" : { | |
"bsonType" : "string" | |
} | |
}, | |
"mobile" : { | |
"encrypt" : { | |
"bsonType" : "string" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment