mongo 2.11.6 → 2.12.0.rc0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +2 -2
- data.tar.gz.sig +0 -0
- data/CONTRIBUTING.md +1 -1
- data/lib/mongo.rb +3 -0
- data/lib/mongo/address.rb +13 -2
- data/lib/mongo/auth.rb +1 -0
- data/lib/mongo/auth/credential_cache.rb +51 -0
- data/lib/mongo/auth/scram/conversation.rb +20 -16
- data/lib/mongo/auth/user.rb +0 -8
- data/lib/mongo/auth/user/view.rb +4 -4
- data/lib/mongo/background_thread.rb +1 -1
- data/lib/mongo/bulk_write.rb +5 -5
- data/lib/mongo/client.rb +126 -11
- data/lib/mongo/client_encryption.rb +103 -0
- data/lib/mongo/cluster.rb +2 -2
- data/lib/mongo/cluster/reapers/cursor_reaper.rb +18 -6
- data/lib/mongo/cluster/sdam_flow.rb +54 -58
- data/lib/mongo/cluster/srv_monitor.rb +1 -1
- data/lib/mongo/collection.rb +3 -3
- data/lib/mongo/collection/view.rb +1 -1
- data/lib/mongo/collection/view/aggregation.rb +1 -1
- data/lib/mongo/collection/view/change_stream.rb +12 -3
- data/lib/mongo/collection/view/iterable.rb +14 -5
- data/lib/mongo/collection/view/map_reduce.rb +2 -2
- data/lib/mongo/collection/view/readable.rb +7 -9
- data/lib/mongo/collection/view/writable.rb +7 -7
- data/lib/mongo/crypt.rb +33 -0
- data/lib/mongo/crypt/auto_decryption_context.rb +42 -0
- data/lib/mongo/crypt/auto_encrypter.rb +169 -0
- data/lib/mongo/crypt/auto_encryption_context.rb +44 -0
- data/lib/mongo/crypt/binary.rb +155 -0
- data/lib/mongo/crypt/binding.rb +1162 -0
- data/lib/mongo/crypt/context.rb +135 -0
- data/lib/mongo/crypt/data_key_context.rb +162 -0
- data/lib/mongo/crypt/encryption_io.rb +283 -0
- data/lib/mongo/crypt/explicit_decryption_context.rb +40 -0
- data/lib/mongo/crypt/explicit_encrypter.rb +117 -0
- data/lib/mongo/crypt/explicit_encryption_context.rb +89 -0
- data/lib/mongo/crypt/handle.rb +293 -0
- data/lib/mongo/crypt/hooks.rb +90 -0
- data/lib/mongo/crypt/kms_context.rb +67 -0
- data/lib/mongo/crypt/status.rb +131 -0
- data/lib/mongo/cursor.rb +64 -32
- data/lib/mongo/database.rb +13 -6
- data/lib/mongo/database/view.rb +13 -4
- data/lib/mongo/dbref.rb +9 -2
- data/lib/mongo/error.rb +5 -1
- data/lib/mongo/error/crypt_error.rb +31 -0
- data/lib/mongo/error/{failed_stringprep_validation.rb → failed_string_prep_validation.rb} +0 -0
- data/lib/mongo/error/invalid_cursor_operation.rb +27 -0
- data/lib/mongo/error/kms_error.rb +22 -0
- data/lib/mongo/error/max_bson_size.rb +14 -3
- data/lib/mongo/error/mongocryptd_spawn_error.rb +22 -0
- data/lib/mongo/error/no_server_available.rb +8 -3
- data/lib/mongo/error/operation_failure.rb +1 -0
- data/lib/mongo/grid/file.rb +0 -5
- data/lib/mongo/grid/file/chunk.rb +0 -2
- data/lib/mongo/grid/file/info.rb +2 -1
- data/lib/mongo/grid/fs_bucket.rb +13 -15
- data/lib/mongo/grid/stream/write.rb +3 -9
- data/lib/mongo/index/view.rb +3 -3
- data/lib/mongo/monitoring/event/command_started.rb +6 -1
- data/lib/mongo/operation/collections_info.rb +6 -3
- data/lib/mongo/operation/delete/op_msg.rb +1 -1
- data/lib/mongo/operation/find/op_msg.rb +4 -1
- data/lib/mongo/operation/get_more/op_msg.rb +4 -1
- data/lib/mongo/operation/insert/command.rb +2 -2
- data/lib/mongo/operation/insert/legacy.rb +2 -2
- data/lib/mongo/operation/insert/op_msg.rb +3 -3
- data/lib/mongo/operation/result.rb +36 -27
- data/lib/mongo/operation/shared/executable.rb +10 -8
- data/lib/mongo/operation/shared/executable_no_validate.rb +2 -2
- data/lib/mongo/operation/shared/op_msg_or_command.rb +2 -2
- data/lib/mongo/operation/shared/op_msg_or_find_command.rb +2 -2
- data/lib/mongo/operation/shared/op_msg_or_list_indexes_command.rb +2 -2
- data/lib/mongo/operation/shared/write.rb +17 -10
- data/lib/mongo/operation/update/op_msg.rb +1 -1
- data/lib/mongo/protocol/compressed.rb +6 -5
- data/lib/mongo/protocol/insert.rb +3 -1
- data/lib/mongo/protocol/message.rb +72 -8
- data/lib/mongo/protocol/msg.rb +191 -37
- data/lib/mongo/protocol/query.rb +7 -9
- data/lib/mongo/protocol/serializers.rb +6 -2
- data/lib/mongo/server.rb +10 -4
- data/lib/mongo/server/connection.rb +20 -9
- data/lib/mongo/server/connection_base.rb +81 -12
- data/lib/mongo/server/connection_common.rb +61 -0
- data/lib/mongo/server/connection_pool.rb +37 -1
- data/lib/mongo/server/description.rb +9 -11
- data/lib/mongo/server/monitor.rb +2 -0
- data/lib/mongo/server/monitor/connection.rb +3 -18
- data/lib/mongo/server/pending_connection.rb +2 -1
- data/lib/mongo/session.rb +2 -2
- data/lib/mongo/session/session_pool.rb +8 -3
- data/lib/mongo/socket.rb +29 -16
- data/lib/mongo/socket/ssl.rb +23 -8
- data/lib/mongo/socket/tcp.rb +12 -3
- data/lib/mongo/timeout.rb +49 -0
- data/lib/mongo/uri.rb +30 -1
- data/lib/mongo/version.rb +1 -1
- data/mongo.gemspec +1 -1
- data/spec/README.md +134 -7
- data/spec/integration/auth_spec.rb +53 -0
- data/spec/integration/{client_options_spec.rb → client_authentication_options_spec.rb} +10 -10
- data/spec/integration/client_construction_spec.rb +76 -1
- data/spec/integration/client_side_encryption/auto_encryption_bulk_writes_spec.rb +351 -0
- data/spec/integration/client_side_encryption/auto_encryption_command_monitoring_spec.rb +301 -0
- data/spec/integration/client_side_encryption/auto_encryption_mongocryptd_spawn_spec.rb +71 -0
- data/spec/integration/client_side_encryption/auto_encryption_old_wire_version_spec.rb +76 -0
- data/spec/integration/client_side_encryption/auto_encryption_reconnect_spec.rb +216 -0
- data/spec/integration/client_side_encryption/auto_encryption_spec.rb +600 -0
- data/spec/integration/client_side_encryption/bson_size_limit_spec.rb +183 -0
- data/spec/integration/client_side_encryption/bypass_mongocryptd_spawn_spec.rb +74 -0
- data/spec/integration/client_side_encryption/client_close_spec.rb +59 -0
- data/spec/integration/client_side_encryption/corpus_spec.rb +228 -0
- data/spec/integration/client_side_encryption/custom_endpoint_spec.rb +132 -0
- data/spec/integration/client_side_encryption/data_key_spec.rb +163 -0
- data/spec/integration/client_side_encryption/explicit_encryption_spec.rb +114 -0
- data/spec/integration/client_side_encryption/external_key_vault_spec.rb +137 -0
- data/spec/integration/client_side_encryption/views_spec.rb +42 -0
- data/spec/integration/client_update_spec.rb +120 -0
- data/spec/integration/command_monitoring_spec.rb +3 -1
- data/spec/integration/command_spec.rb +44 -10
- data/spec/integration/connection_spec.rb +57 -0
- data/spec/integration/reconnect_spec.rb +7 -6
- data/spec/integration/size_limit_spec.rb +94 -0
- data/spec/integration/srv_monitoring_spec.rb +14 -6
- data/spec/lite_spec_helper.rb +31 -22
- data/spec/mongo/auth/cr_spec.rb +8 -0
- data/spec/mongo/auth/ldap_spec.rb +5 -1
- data/spec/mongo/auth/scram/conversation_spec.rb +5 -6
- data/spec/mongo/auth/scram/negotiation_spec.rb +74 -75
- data/spec/mongo/auth/scram_spec.rb +45 -35
- data/spec/mongo/auth/x509_spec.rb +5 -1
- data/spec/mongo/client_construction_spec.rb +206 -3
- data/spec/mongo/client_encryption_spec.rb +408 -0
- data/spec/mongo/cluster/cursor_reaper_spec.rb +12 -8
- data/spec/mongo/cluster/socket_reaper_spec.rb +14 -3
- data/spec/mongo/collection/view/aggregation_spec.rb +0 -2
- data/spec/mongo/collection/view/change_stream_spec.rb +7 -7
- data/spec/mongo/collection/view/map_reduce_spec.rb +3 -3
- data/spec/mongo/collection/view_spec.rb +1 -1
- data/spec/mongo/collection_spec.rb +4 -33
- data/spec/mongo/crypt/auto_decryption_context_spec.rb +90 -0
- data/spec/mongo/crypt/auto_encrypter_spec.rb +182 -0
- data/spec/mongo/crypt/auto_encryption_context_spec.rb +107 -0
- data/spec/mongo/crypt/binary_spec.rb +115 -0
- data/spec/mongo/crypt/binding/binary_spec.rb +56 -0
- data/spec/mongo/crypt/binding/context_spec.rb +257 -0
- data/spec/mongo/crypt/binding/helpers_spec.rb +46 -0
- data/spec/mongo/crypt/binding/mongocrypt_spec.rb +144 -0
- data/spec/mongo/crypt/binding/status_spec.rb +99 -0
- data/spec/mongo/crypt/binding/version_spec.rb +22 -0
- data/spec/mongo/crypt/binding_unloaded_spec.rb +20 -0
- data/spec/mongo/crypt/data_key_context_spec.rb +213 -0
- data/spec/mongo/crypt/encryption_io_spec.rb +136 -0
- data/spec/mongo/crypt/explicit_decryption_context_spec.rb +72 -0
- data/spec/mongo/crypt/explicit_encryption_context_spec.rb +170 -0
- data/spec/mongo/crypt/handle_spec.rb +198 -0
- data/spec/mongo/crypt/helpers/mongo_crypt_spec_helper.rb +108 -0
- data/spec/mongo/crypt/status_spec.rb +152 -0
- data/spec/mongo/cursor_spec.rb +24 -4
- data/spec/mongo/database_spec.rb +20 -0
- data/spec/mongo/error/crypt_error_spec.rb +26 -0
- data/spec/mongo/error/max_bson_size_spec.rb +35 -0
- data/spec/mongo/error/no_server_available_spec.rb +11 -1
- data/spec/mongo/error/operation_failure_spec.rb +6 -6
- data/spec/mongo/operation/aggregate_spec.rb +1 -1
- data/spec/mongo/operation/collections_info_spec.rb +1 -1
- data/spec/mongo/operation/command_spec.rb +3 -3
- data/spec/mongo/operation/create_index_spec.rb +3 -3
- data/spec/mongo/operation/create_user_spec.rb +3 -3
- data/spec/mongo/operation/delete/bulk_spec.rb +6 -6
- data/spec/mongo/operation/delete/op_msg_spec.rb +1 -6
- data/spec/mongo/operation/delete_spec.rb +7 -7
- data/spec/mongo/operation/drop_index_spec.rb +2 -2
- data/spec/mongo/operation/find/legacy_spec.rb +1 -1
- data/spec/mongo/operation/get_more_spec.rb +1 -1
- data/spec/mongo/operation/indexes_spec.rb +1 -1
- data/spec/mongo/operation/insert/bulk_spec.rb +7 -7
- data/spec/mongo/operation/insert/op_msg_spec.rb +3 -6
- data/spec/mongo/operation/insert_spec.rb +12 -12
- data/spec/mongo/operation/map_reduce_spec.rb +2 -2
- data/spec/mongo/operation/remove_user_spec.rb +3 -3
- data/spec/mongo/operation/update/bulk_spec.rb +6 -6
- data/spec/mongo/operation/update/op_msg_spec.rb +3 -6
- data/spec/mongo/operation/update_spec.rb +7 -7
- data/spec/mongo/operation/update_user_spec.rb +1 -1
- data/spec/mongo/protocol/compressed_spec.rb +2 -3
- data/spec/mongo/protocol/delete_spec.rb +9 -8
- data/spec/mongo/protocol/get_more_spec.rb +9 -8
- data/spec/mongo/protocol/insert_spec.rb +9 -8
- data/spec/mongo/protocol/kill_cursors_spec.rb +6 -5
- data/spec/mongo/protocol/msg_spec.rb +57 -53
- data/spec/mongo/protocol/query_spec.rb +12 -12
- data/spec/mongo/protocol/registry_spec.rb +1 -1
- data/spec/mongo/protocol/reply_spec.rb +1 -1
- data/spec/mongo/protocol/update_spec.rb +10 -9
- data/spec/mongo/server/connection_pool_spec.rb +1 -1
- data/spec/mongo/server/connection_spec.rb +28 -7
- data/spec/mongo/socket_spec.rb +1 -1
- data/spec/mongo/timeout_spec.rb +85 -0
- data/spec/mongo/uri/srv_protocol_spec.rb +2 -2
- data/spec/mongo/uri_spec.rb +52 -5
- data/spec/mongo/write_concern_spec.rb +13 -1
- data/spec/{support → runners}/auth.rb +14 -1
- data/spec/{support → runners}/change_streams.rb +1 -1
- data/spec/{support → runners}/change_streams/operation.rb +0 -0
- data/spec/{support → runners}/cmap.rb +1 -1
- data/spec/{support → runners}/cmap/verifier.rb +0 -0
- data/spec/{support → runners}/command_monitoring.rb +0 -0
- data/spec/runners/connection_string.rb +358 -4
- data/spec/{support → runners}/crud.rb +9 -9
- data/spec/{support → runners}/crud/context.rb +0 -0
- data/spec/{support → runners}/crud/operation.rb +7 -3
- data/spec/{support → runners}/crud/outcome.rb +0 -0
- data/spec/{support → runners}/crud/requirement.rb +1 -1
- data/spec/{support → runners}/crud/spec.rb +12 -1
- data/spec/{support → runners}/crud/test.rb +0 -0
- data/spec/{support → runners}/crud/test_base.rb +0 -0
- data/spec/{support → runners}/crud/verifier.rb +10 -12
- data/spec/{support → runners}/gridfs.rb +0 -0
- data/spec/{support → runners}/sdam_monitoring.rb +0 -0
- data/spec/{support → runners}/server_discovery_and_monitoring.rb +0 -0
- data/spec/{support → runners}/server_selection.rb +0 -0
- data/spec/{support → runners}/server_selection_rtt.rb +0 -0
- data/spec/{support → runners}/transactions.rb +4 -4
- data/spec/{support → runners}/transactions/context.rb +0 -0
- data/spec/{support → runners}/transactions/operation.rb +0 -0
- data/spec/{support → runners}/transactions/spec.rb +0 -0
- data/spec/{support → runners}/transactions/test.rb +37 -5
- data/spec/spec_helper.rb +0 -5
- data/spec/spec_tests/auth_spec.rb +3 -3
- data/spec/spec_tests/client_side_encryption_spec.rb +13 -0
- data/spec/spec_tests/connection_string_spec.rb +1 -1
- data/spec/spec_tests/data/auth/connection-string.yml +13 -0
- data/spec/spec_tests/data/client_side_encryption/aggregate.yml +134 -0
- data/spec/spec_tests/data/client_side_encryption/badQueries.yml +526 -0
- data/spec/spec_tests/data/client_side_encryption/badSchema.yml +73 -0
- data/spec/spec_tests/data/client_side_encryption/basic.yml +116 -0
- data/spec/spec_tests/data/client_side_encryption/bulk.yml +85 -0
- data/spec/spec_tests/data/client_side_encryption/bypassAutoEncryption.yml +100 -0
- data/spec/spec_tests/data/client_side_encryption/bypassedCommand.yml +42 -0
- data/spec/spec_tests/data/client_side_encryption/count.yml +61 -0
- data/spec/spec_tests/data/client_side_encryption/countDocuments.yml +59 -0
- data/spec/spec_tests/data/client_side_encryption/delete.yml +105 -0
- data/spec/spec_tests/data/client_side_encryption/distinct.yml +73 -0
- data/spec/spec_tests/data/client_side_encryption/explain.yml +64 -0
- data/spec/spec_tests/data/client_side_encryption/find.yml +119 -0
- data/spec/spec_tests/data/client_side_encryption/findOneAndDelete.yml +57 -0
- data/spec/spec_tests/data/client_side_encryption/findOneAndReplace.yml +57 -0
- data/spec/spec_tests/data/client_side_encryption/findOneAndUpdate.yml +57 -0
- data/spec/spec_tests/data/client_side_encryption/getMore.yml +68 -0
- data/spec/spec_tests/data/client_side_encryption/insert.yml +102 -0
- data/spec/spec_tests/data/client_side_encryption/keyAltName.yml +71 -0
- data/spec/spec_tests/data/client_side_encryption/localKMS.yml +54 -0
- data/spec/spec_tests/data/client_side_encryption/localSchema.yml +72 -0
- data/spec/spec_tests/data/client_side_encryption/malformedCiphertext.yml +69 -0
- data/spec/spec_tests/data/client_side_encryption/maxWireVersion.yml +20 -0
- data/spec/spec_tests/data/client_side_encryption/missingKey.yml +49 -0
- data/spec/spec_tests/data/client_side_encryption/replaceOne.yml +61 -0
- data/spec/spec_tests/data/client_side_encryption/types.yml +527 -0
- data/spec/spec_tests/data/client_side_encryption/unsupportedCommand.yml +25 -0
- data/spec/spec_tests/data/client_side_encryption/updateMany.yml +77 -0
- data/spec/spec_tests/data/client_side_encryption/updateOne.yml +168 -0
- data/spec/spec_tests/data/read_write_concern/connection-string/write-concern.yml +1 -4
- data/spec/spec_tests/data/retryable_writes/insertOne-serverErrors.yml +21 -0
- data/spec/spec_tests/data/sdam/rs/incompatible_ghost.yml +2 -4
- data/spec/spec_tests/data/sdam/rs/incompatible_other.yml +1 -1
- data/spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml +73 -0
- data/spec/spec_tests/data/sdam/rs/primary_to_no_primary_mismatched_me.yml +1 -2
- data/spec/spec_tests/data/sdam/rs/repeated.yml +101 -0
- data/spec/spec_tests/data/sdam/rs/{primary_address_change.yml → ruby_primary_address_change.yml} +2 -0
- data/spec/spec_tests/data/sdam/rs/{secondary_wrong_set_name_with_primary_second.yml → ruby_secondary_wrong_set_name_with_primary_second.yml} +0 -0
- data/spec/spec_tests/data/sdam/sharded/ruby_discovered_single_mongos.yml +27 -0
- data/spec/spec_tests/data/sdam/sharded/{primary_address_change.yml → ruby_primary_different_address.yml} +1 -1
- data/spec/spec_tests/data/sdam/sharded/{primary_mismatched_me.yml → ruby_primary_mismatched_me.yml} +1 -1
- data/spec/spec_tests/data/sdam/single/{primary_address_change.yml → ruby_primary_different_address.yml} +1 -1
- data/spec/spec_tests/data/sdam/single/{primary_mismatched_me.yml → ruby_primary_mismatched_me.yml} +1 -1
- data/spec/spec_tests/data/sdam_monitoring/{replica_set_with_primary_change.yml → replica_set_primary_address_change.yml} +27 -5
- data/spec/spec_tests/data/sdam_monitoring/replica_set_with_me_mismatch.yml +26 -74
- data/spec/spec_tests/data/sdam_monitoring/replica_set_with_removal.yml +20 -16
- data/spec/spec_tests/data/sdam_monitoring/standalone_suppress_equal_description_changes.yml +73 -0
- data/spec/spec_tests/data/transactions/pin-mongos.yml +2 -3
- data/spec/spec_tests/data/uri_options/auth-options.yml +10 -0
- data/spec/spec_tests/data/uri_options/tls-options.yml +75 -4
- data/spec/spec_tests/read_write_concern_connection_string_spec.rb +1 -1
- data/spec/spec_tests/uri_options_spec.rb +6 -8
- data/spec/stress/connection_pool_timing_spec.rb +6 -3
- data/spec/support/certificates/README.md +4 -0
- data/spec/support/certificates/server-second-level-bundle.pem +77 -77
- data/spec/support/certificates/server-second-level.crt +52 -52
- data/spec/support/certificates/server-second-level.key +25 -25
- data/spec/support/certificates/server-second-level.pem +77 -77
- data/spec/support/client_registry.rb +19 -3
- data/spec/support/cluster_config.rb +9 -1
- data/spec/support/common_shortcuts.rb +12 -0
- data/spec/support/constraints.rb +16 -0
- data/spec/support/crypt.rb +140 -0
- data/spec/support/crypt/corpus/corpus-key-aws.json +33 -0
- data/spec/support/crypt/corpus/corpus-key-local.json +31 -0
- data/spec/support/crypt/corpus/corpus-schema.json +2057 -0
- data/spec/support/crypt/corpus/corpus.json +3657 -0
- data/spec/support/crypt/corpus/corpus_encrypted.json +4152 -0
- data/spec/support/crypt/data_keys/key_document_aws.json +34 -0
- data/spec/support/crypt/data_keys/key_document_local.json +31 -0
- data/spec/support/crypt/external/external-key.json +31 -0
- data/spec/support/crypt/external/external-schema.json +19 -0
- data/spec/support/crypt/limits/limits-doc.json +102 -0
- data/spec/support/crypt/limits/limits-key.json +31 -0
- data/spec/support/crypt/limits/limits-schema.json +1405 -0
- data/spec/support/crypt/schema_maps/schema_map_aws.json +17 -0
- data/spec/support/crypt/schema_maps/schema_map_aws_key_alt_names.json +12 -0
- data/spec/support/crypt/schema_maps/schema_map_local.json +18 -0
- data/spec/support/crypt/schema_maps/schema_map_local_key_alt_names.json +12 -0
- data/spec/support/lite_constraints.rb +17 -1
- data/spec/support/matchers.rb +19 -0
- data/spec/support/shared/protocol.rb +2 -0
- data/spec/support/spec_config.rb +43 -13
- data/spec/support/utils.rb +132 -10
- metadata +277 -81
- metadata.gz.sig +0 -0
- data/spec/integration/grid_fs_bucket_spec.rb +0 -48
- data/spec/integration/zlib_compression_spec.rb +0 -25
- data/spec/spec_tests/data/sdam/sharded/single_mongos.yml +0 -33
- data/spec/support/connection_string.rb +0 -354
@@ -224,15 +224,31 @@ class ClientRegistry
|
|
224
224
|
def close_local_clients
|
225
225
|
@lock.synchronize do
|
226
226
|
@local_clients.each do |client|
|
227
|
+
# If this client shares cluster with any of the global clients,
|
228
|
+
# do not disconnect the cluster so that the global clients continue
|
229
|
+
# working into the next test(s).
|
230
|
+
# If this client does not share cluster with any global clients,
|
231
|
+
# this client can be closed completely via the #close method.
|
232
|
+
#
|
233
|
+
# Clients can also have slaved auto encryption objects (mongocryptd
|
234
|
+
# client and key vault client) which also need to be cleaned up.
|
235
|
+
# These slaved objects are always unique to the client which hosts
|
236
|
+
# them - they are never shared between clients. Therefore, we
|
237
|
+
# always tear down encryption objects for each local client here.
|
238
|
+
# This is done either as part of #close if #close is invoked, or
|
239
|
+
# explicitly if #close is not invoked due to cluster sharing.
|
227
240
|
cluster = client.cluster
|
228
|
-
# Disconnect this cluster if and only if it is not shared with
|
229
|
-
# any of the global clients we know about.
|
230
241
|
if @global_clients.none? { |name, global_client|
|
231
242
|
cluster.object_id == global_client.cluster.object_id
|
232
243
|
}
|
233
|
-
cluster.
|
244
|
+
# Cluster not shared, disconnect cluster and clean up encryption.
|
245
|
+
client.close
|
246
|
+
else
|
247
|
+
# Cluster is shared, clean up encryption only.
|
248
|
+
client.close_encrypter
|
234
249
|
end
|
235
250
|
end
|
251
|
+
|
236
252
|
@local_clients = []
|
237
253
|
end
|
238
254
|
end
|
@@ -19,6 +19,11 @@ class ClusterConfig
|
|
19
19
|
@server_version
|
20
20
|
end
|
21
21
|
|
22
|
+
def enterprise?
|
23
|
+
determine_cluster_config
|
24
|
+
@enterprise
|
25
|
+
end
|
26
|
+
|
22
27
|
def short_server_version
|
23
28
|
server_version.split('.')[0..1].join('.')
|
24
29
|
end
|
@@ -178,7 +183,10 @@ class ClusterConfig
|
|
178
183
|
|
179
184
|
@single_server = client.cluster.servers_list.length == 1
|
180
185
|
|
181
|
-
|
186
|
+
build_info = client.database.command(buildInfo: 1).first
|
187
|
+
|
188
|
+
@server_version = build_info['version']
|
189
|
+
@enterprise = build_info['modules'] && build_info['modules'].include?('enterprise')
|
182
190
|
|
183
191
|
if @topology != :sharded && short_server_version >= '3.4'
|
184
192
|
rv = client.use(:admin).command(getParameter: 1, featureCompatibilityVersion: 1).first['featureCompatibilityVersion']
|
@@ -30,6 +30,18 @@ module CommonShortcuts
|
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
33
|
+
# If only the lite spec helper was loaded, this method does nothing.
|
34
|
+
# If the full spec helper was loaded, this method performs the same function
|
35
|
+
# as clean_state_for_all.
|
36
|
+
def clean_slate_for_all_if_possible
|
37
|
+
before(:all) do
|
38
|
+
if defined?(ClusterTools)
|
39
|
+
ClientRegistry.instance.close_all_clients
|
40
|
+
BackgroundThreadRegistry.instance.verify_empty!
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
33
45
|
# For some reason, there are tests which fail on evergreen either
|
34
46
|
# intermittently or reliably that always succeed locally.
|
35
47
|
# Debugging of tests in evergreen is difficult/impossible,
|
data/spec/support/constraints.rb
CHANGED
@@ -148,6 +148,14 @@ module Constraints
|
|
148
148
|
end
|
149
149
|
end
|
150
150
|
|
151
|
+
def require_x509_auth
|
152
|
+
before(:all) do
|
153
|
+
unless SpecConfig.instance.x509_auth?
|
154
|
+
skip "X.509 auth required"
|
155
|
+
end
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
151
159
|
def require_no_x509_auth
|
152
160
|
before(:all) do
|
153
161
|
if SpecConfig.instance.x509_auth?
|
@@ -208,6 +216,14 @@ module Constraints
|
|
208
216
|
end
|
209
217
|
end
|
210
218
|
|
219
|
+
def require_enterprise
|
220
|
+
before(:all) do
|
221
|
+
unless ClusterConfig.instance.enterprise?
|
222
|
+
skip 'Test requires enterprise build of MongoDB'
|
223
|
+
end
|
224
|
+
end
|
225
|
+
end
|
226
|
+
|
211
227
|
# Integration tests for SRV polling require internet connectivity to
|
212
228
|
# look up SRV records and a sharded cluster configured on default port on
|
213
229
|
# localhost (localhost:27017, localhost:27018).
|
@@ -0,0 +1,140 @@
|
|
1
|
+
# Copyright (C) 2009-2019 MongoDB, Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
module Crypt
|
16
|
+
# For all FLE-related tests
|
17
|
+
shared_context 'define shared FLE helpers' do
|
18
|
+
# 96-byte binary string, base64-encoded local master key
|
19
|
+
let(:local_master_key_b64) do
|
20
|
+
"Mng0NCt4ZHVUYUJCa1kxNkVyNUR1QURhZ2h2UzR2d2RrZzh0cFBwM3R6NmdWMDFBMUN3" +
|
21
|
+
"YkQ5aXRRMkhGRGdQV09wOGVNYUMxT2k3NjZKelhaQmRCZGJkTXVyZG9uSjFk"
|
22
|
+
end
|
23
|
+
|
24
|
+
let(:local_master_key) { Base64.decode64(local_master_key_b64) }
|
25
|
+
|
26
|
+
# Data key id as a binary string
|
27
|
+
let(:key_id) { data_key['_id'] }
|
28
|
+
|
29
|
+
# Data key alternate name
|
30
|
+
let(:key_alt_name) { 'ssn_encryption_key' }
|
31
|
+
|
32
|
+
# Deterministic encryption algorithm
|
33
|
+
let(:algorithm) { 'AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic' }
|
34
|
+
|
35
|
+
# Local KMS provider options
|
36
|
+
let(:local_kms_providers) { { local: { key: local_master_key } } }
|
37
|
+
|
38
|
+
# AWS KMS provider options
|
39
|
+
let(:aws_kms_providers) do
|
40
|
+
{
|
41
|
+
aws: {
|
42
|
+
access_key_id: SpecConfig.instance.fle_aws_key,
|
43
|
+
secret_access_key: SpecConfig.instance.fle_aws_secret,
|
44
|
+
}
|
45
|
+
}
|
46
|
+
end
|
47
|
+
|
48
|
+
# Key vault database and collection names
|
49
|
+
let(:key_vault_db) { 'admin' }
|
50
|
+
let(:key_vault_coll) { 'datakeys' }
|
51
|
+
let(:key_vault_namespace) { "#{key_vault_db}.#{key_vault_coll}" }
|
52
|
+
|
53
|
+
# Example value to encrypt
|
54
|
+
let(:ssn) { '123-456-7890' }
|
55
|
+
end
|
56
|
+
|
57
|
+
# For tests that require local KMS to be configured
|
58
|
+
shared_context 'with local kms_providers' do
|
59
|
+
let(:kms_provider_name) { 'local' }
|
60
|
+
let(:kms_providers) { local_kms_providers }
|
61
|
+
|
62
|
+
let(:data_key) do
|
63
|
+
BSON::ExtJSON.parse(File.read('spec/support/crypt/data_keys/key_document_local.json'))
|
64
|
+
end
|
65
|
+
|
66
|
+
let(:schema_map) do
|
67
|
+
BSON::ExtJSON.parse(File.read('spec/support/crypt/schema_maps/schema_map_local.json'))
|
68
|
+
end
|
69
|
+
let(:data_key_options) { {} }
|
70
|
+
|
71
|
+
let(:encrypted_ssn) do
|
72
|
+
"ASzggCwAAAAAAAAAAAAAAAAC/OvUvE0N5eZ5vhjcILtGKZlxovGhYJduEfsR\n7NiH68Ft" +
|
73
|
+
"tXzHYqT0DKgvn3QjjTbS/4SPfBEYrMIS10Uzf9R1Ky4D5a19mYCp\nmv76Z8Rzdmo=\n"
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
shared_context 'with local kms_providers and key alt names' do
|
78
|
+
include_context 'with local kms_providers'
|
79
|
+
|
80
|
+
let(:schema_map) do
|
81
|
+
BSON::ExtJSON.parse(File.read('spec/support/crypt/schema_maps/schema_map_local_key_alt_names.json'))
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
# For tests that require AWS KMS to be configured
|
86
|
+
shared_context 'with AWS kms_providers' do
|
87
|
+
before do
|
88
|
+
unless SpecConfig.instance.fle_aws_key &&
|
89
|
+
SpecConfig.instance.fle_aws_secret &&
|
90
|
+
SpecConfig.instance.fle_aws_region &&
|
91
|
+
SpecConfig.instance.fle_aws_arn
|
92
|
+
|
93
|
+
skip(
|
94
|
+
'This test requires the MONGO_RUBY_DRIVER_AWS_KEY, ' +
|
95
|
+
'MONGO_RUBY_DRIVER_AWS_SECRET, MONGO_RUBY_DRIVER_AWS_REGION, ' +
|
96
|
+
'MONGO_RUBY_DRIVER_AWS_ARN environment variables to be set information from AWS.'
|
97
|
+
)
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
let(:kms_provider_name) { 'aws' }
|
102
|
+
let(:kms_providers) { aws_kms_providers }
|
103
|
+
|
104
|
+
let(:data_key) do
|
105
|
+
BSON::ExtJSON.parse(File.read('spec/support/crypt/data_keys/key_document_aws.json'))
|
106
|
+
end
|
107
|
+
|
108
|
+
let(:schema_map) do
|
109
|
+
BSON::ExtJSON.parse(File.read('spec/support/crypt/schema_maps/schema_map_aws.json'))
|
110
|
+
end
|
111
|
+
|
112
|
+
let(:data_key_options) do
|
113
|
+
{
|
114
|
+
master_key: {
|
115
|
+
region: aws_region,
|
116
|
+
key: aws_arn,
|
117
|
+
endpoint: "#{aws_endpoint_host}:#{aws_endpoint_port}"
|
118
|
+
}
|
119
|
+
}
|
120
|
+
end
|
121
|
+
|
122
|
+
let(:aws_region) { SpecConfig.instance.fle_aws_region }
|
123
|
+
let(:aws_arn) { SpecConfig.instance.fle_aws_arn }
|
124
|
+
let(:aws_endpoint_host) { "kms.#{aws_region}.amazonaws.com" }
|
125
|
+
let(:aws_endpoint_port) { 443 }
|
126
|
+
|
127
|
+
let(:encrypted_ssn) do
|
128
|
+
"AQFkgAAAAAAAAAAAAAAAAAACX/YG2ZOHWU54kARE17zDdeZzKgpZffOXNaoB\njmvdVa/" +
|
129
|
+
"yTifOikvxEov16KxtQrnaKWdxQL03TVgpoLt4Jb28pqYKlgBj3XMp\nuItZpQeFQB4=\n"
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
|
+
shared_context 'with AWS kms_providers and key alt names' do
|
134
|
+
include_context 'with AWS kms_providers'
|
135
|
+
|
136
|
+
let(:schema_map) do
|
137
|
+
BSON::ExtJSON.parse(File.read('spec/support/crypt/schema_maps/schema_map_aws_key_alt_names.json'))
|
138
|
+
end
|
139
|
+
end
|
140
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
{
|
2
|
+
"status": {
|
3
|
+
"$numberInt": "1"
|
4
|
+
},
|
5
|
+
"_id": {
|
6
|
+
"$binary": {
|
7
|
+
"base64": "AWSAAAAAAAAAAAAAAAAAAA==",
|
8
|
+
"subType": "04"
|
9
|
+
}
|
10
|
+
},
|
11
|
+
"masterKey": {
|
12
|
+
"region": "us-east-1",
|
13
|
+
"key": "arn:aws:kms:us-east-1:579766882180:key/89fcc2c4-08b0-4bd9-9f25-e30687b580d0",
|
14
|
+
"provider": "aws"
|
15
|
+
},
|
16
|
+
"updateDate": {
|
17
|
+
"$date": {
|
18
|
+
"$numberLong": "1557827033449"
|
19
|
+
}
|
20
|
+
},
|
21
|
+
"keyMaterial": {
|
22
|
+
"$binary": {
|
23
|
+
"base64": "AQICAHhQNmWG2CzOm1dq3kWLM+iDUZhEqnhJwH9wZVpuZ94A8gEqnsxXlR51T5EbEVezUqqKAAAAwjCBvwYJKoZIhvcNAQcGoIGxMIGuAgEAMIGoBgkqhkiG9w0BBwEwHgYJYIZIAWUDBAEuMBEEDHa4jo6yp0Z18KgbUgIBEIB74sKxWtV8/YHje5lv5THTl0HIbhSwM6EqRlmBiFFatmEWaeMk4tO4xBX65eq670I5TWPSLMzpp8ncGHMmvHqRajNBnmFtbYxN3E3/WjxmdbOOe+OXpnGJPcGsftc7cB2shRfA4lICPnE26+oVNXT6p0Lo20nY5XC7jyCO",
|
24
|
+
"subType": "00"
|
25
|
+
}
|
26
|
+
},
|
27
|
+
"creationDate": {
|
28
|
+
"$date": {
|
29
|
+
"$numberLong": "1557827033449"
|
30
|
+
}
|
31
|
+
},
|
32
|
+
"keyAltNames": ["aws"]
|
33
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
{
|
2
|
+
"status": {
|
3
|
+
"$numberInt": "1"
|
4
|
+
},
|
5
|
+
"_id": {
|
6
|
+
"$binary": {
|
7
|
+
"base64": "LOCALAAAAAAAAAAAAAAAAA==",
|
8
|
+
"subType": "04"
|
9
|
+
}
|
10
|
+
},
|
11
|
+
"masterKey": {
|
12
|
+
"provider": "local"
|
13
|
+
},
|
14
|
+
"updateDate": {
|
15
|
+
"$date": {
|
16
|
+
"$numberLong": "1557827033449"
|
17
|
+
}
|
18
|
+
},
|
19
|
+
"keyMaterial": {
|
20
|
+
"$binary": {
|
21
|
+
"base64": "Ce9HSz/HKKGkIt4uyy+jDuKGA+rLC2cycykMo6vc8jXxqa1UVDYHWq1r+vZKbnnSRBfB981akzRKZCFpC05CTyFqDhXv6OnMjpG97OZEREGIsHEYiJkBW0jJJvfLLgeLsEpBzsro9FztGGXASxyxFRZFhXvHxyiLOKrdWfs7X1O/iK3pEoHMx6uSNSfUOgbebLfIqW7TO++iQS5g1xovXA==",
|
22
|
+
"subType": "00"
|
23
|
+
}
|
24
|
+
},
|
25
|
+
"creationDate": {
|
26
|
+
"$date": {
|
27
|
+
"$numberLong": "1557827033449"
|
28
|
+
}
|
29
|
+
},
|
30
|
+
"keyAltNames": [ "local" ]
|
31
|
+
}
|
@@ -0,0 +1,2057 @@
|
|
1
|
+
{
|
2
|
+
"bsonType": "object",
|
3
|
+
"properties": {
|
4
|
+
"aws_double_rand_auto_id": {
|
5
|
+
"bsonType": "object",
|
6
|
+
"properties": {
|
7
|
+
"value": {
|
8
|
+
"encrypt": {
|
9
|
+
"keyId": [
|
10
|
+
{
|
11
|
+
"$binary": {
|
12
|
+
"base64": "AWSAAAAAAAAAAAAAAAAAAA==",
|
13
|
+
"subType": "04"
|
14
|
+
}
|
15
|
+
}
|
16
|
+
],
|
17
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
18
|
+
"bsonType": "double"
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
},
|
23
|
+
"aws_double_rand_auto_altname": {
|
24
|
+
"bsonType": "object",
|
25
|
+
"properties": {
|
26
|
+
"value": {
|
27
|
+
"encrypt": {
|
28
|
+
"keyId": "/altname_aws",
|
29
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
30
|
+
"bsonType": "double"
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
34
|
+
},
|
35
|
+
"aws_double_rand_explicit_id": {
|
36
|
+
"bsonType": "object",
|
37
|
+
"properties": { "value": { "bsonType": "binData" } }
|
38
|
+
},
|
39
|
+
"aws_double_rand_explicit_altname": {
|
40
|
+
"bsonType": "object",
|
41
|
+
"properties": { "value": { "bsonType": "binData" } }
|
42
|
+
},
|
43
|
+
"aws_string_rand_auto_id": {
|
44
|
+
"bsonType": "object",
|
45
|
+
"properties": {
|
46
|
+
"value": {
|
47
|
+
"encrypt": {
|
48
|
+
"keyId": [
|
49
|
+
{
|
50
|
+
"$binary": {
|
51
|
+
"base64": "AWSAAAAAAAAAAAAAAAAAAA==",
|
52
|
+
"subType": "04"
|
53
|
+
}
|
54
|
+
}
|
55
|
+
],
|
56
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
57
|
+
"bsonType": "string"
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
},
|
62
|
+
"aws_string_rand_auto_altname": {
|
63
|
+
"bsonType": "object",
|
64
|
+
"properties": {
|
65
|
+
"value": {
|
66
|
+
"encrypt": {
|
67
|
+
"keyId": "/altname_aws",
|
68
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
69
|
+
"bsonType": "string"
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
},
|
74
|
+
"aws_string_rand_explicit_id": {
|
75
|
+
"bsonType": "object",
|
76
|
+
"properties": { "value": { "bsonType": "binData" } }
|
77
|
+
},
|
78
|
+
"aws_string_rand_explicit_altname": {
|
79
|
+
"bsonType": "object",
|
80
|
+
"properties": { "value": { "bsonType": "binData" } }
|
81
|
+
},
|
82
|
+
"aws_string_det_auto_id": {
|
83
|
+
"bsonType": "object",
|
84
|
+
"properties": {
|
85
|
+
"value": {
|
86
|
+
"encrypt": {
|
87
|
+
"keyId": [
|
88
|
+
{
|
89
|
+
"$binary": {
|
90
|
+
"base64": "AWSAAAAAAAAAAAAAAAAAAA==",
|
91
|
+
"subType": "04"
|
92
|
+
}
|
93
|
+
}
|
94
|
+
],
|
95
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic",
|
96
|
+
"bsonType": "string"
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
},
|
101
|
+
"aws_string_det_explicit_id": {
|
102
|
+
"bsonType": "object",
|
103
|
+
"properties": { "value": { "bsonType": "binData" } }
|
104
|
+
},
|
105
|
+
"aws_string_det_explicit_altname": {
|
106
|
+
"bsonType": "object",
|
107
|
+
"properties": { "value": { "bsonType": "binData" } }
|
108
|
+
},
|
109
|
+
"aws_object_rand_auto_id": {
|
110
|
+
"bsonType": "object",
|
111
|
+
"properties": {
|
112
|
+
"value": {
|
113
|
+
"encrypt": {
|
114
|
+
"keyId": [
|
115
|
+
{
|
116
|
+
"$binary": {
|
117
|
+
"base64": "AWSAAAAAAAAAAAAAAAAAAA==",
|
118
|
+
"subType": "04"
|
119
|
+
}
|
120
|
+
}
|
121
|
+
],
|
122
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
123
|
+
"bsonType": "object"
|
124
|
+
}
|
125
|
+
}
|
126
|
+
}
|
127
|
+
},
|
128
|
+
"aws_object_rand_auto_altname": {
|
129
|
+
"bsonType": "object",
|
130
|
+
"properties": {
|
131
|
+
"value": {
|
132
|
+
"encrypt": {
|
133
|
+
"keyId": "/altname_aws",
|
134
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
135
|
+
"bsonType": "object"
|
136
|
+
}
|
137
|
+
}
|
138
|
+
}
|
139
|
+
},
|
140
|
+
"aws_object_rand_explicit_id": {
|
141
|
+
"bsonType": "object",
|
142
|
+
"properties": { "value": { "bsonType": "binData" } }
|
143
|
+
},
|
144
|
+
"aws_object_rand_explicit_altname": {
|
145
|
+
"bsonType": "object",
|
146
|
+
"properties": { "value": { "bsonType": "binData" } }
|
147
|
+
},
|
148
|
+
"aws_array_rand_auto_id": {
|
149
|
+
"bsonType": "object",
|
150
|
+
"properties": {
|
151
|
+
"value": {
|
152
|
+
"encrypt": {
|
153
|
+
"keyId": [
|
154
|
+
{
|
155
|
+
"$binary": {
|
156
|
+
"base64": "AWSAAAAAAAAAAAAAAAAAAA==",
|
157
|
+
"subType": "04"
|
158
|
+
}
|
159
|
+
}
|
160
|
+
],
|
161
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
162
|
+
"bsonType": "array"
|
163
|
+
}
|
164
|
+
}
|
165
|
+
}
|
166
|
+
},
|
167
|
+
"aws_array_rand_auto_altname": {
|
168
|
+
"bsonType": "object",
|
169
|
+
"properties": {
|
170
|
+
"value": {
|
171
|
+
"encrypt": {
|
172
|
+
"keyId": "/altname_aws",
|
173
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
174
|
+
"bsonType": "array"
|
175
|
+
}
|
176
|
+
}
|
177
|
+
}
|
178
|
+
},
|
179
|
+
"aws_array_rand_explicit_id": {
|
180
|
+
"bsonType": "object",
|
181
|
+
"properties": { "value": { "bsonType": "binData" } }
|
182
|
+
},
|
183
|
+
"aws_array_rand_explicit_altname": {
|
184
|
+
"bsonType": "object",
|
185
|
+
"properties": { "value": { "bsonType": "binData" } }
|
186
|
+
},
|
187
|
+
"aws_binData=00_rand_auto_id": {
|
188
|
+
"bsonType": "object",
|
189
|
+
"properties": {
|
190
|
+
"value": {
|
191
|
+
"encrypt": {
|
192
|
+
"keyId": [
|
193
|
+
{
|
194
|
+
"$binary": {
|
195
|
+
"base64": "AWSAAAAAAAAAAAAAAAAAAA==",
|
196
|
+
"subType": "04"
|
197
|
+
}
|
198
|
+
}
|
199
|
+
],
|
200
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
201
|
+
"bsonType": "binData"
|
202
|
+
}
|
203
|
+
}
|
204
|
+
}
|
205
|
+
},
|
206
|
+
"aws_binData=00_rand_auto_altname": {
|
207
|
+
"bsonType": "object",
|
208
|
+
"properties": {
|
209
|
+
"value": {
|
210
|
+
"encrypt": {
|
211
|
+
"keyId": "/altname_aws",
|
212
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
213
|
+
"bsonType": "binData"
|
214
|
+
}
|
215
|
+
}
|
216
|
+
}
|
217
|
+
},
|
218
|
+
"aws_binData=00_rand_explicit_id": {
|
219
|
+
"bsonType": "object",
|
220
|
+
"properties": { "value": { "bsonType": "binData" } }
|
221
|
+
},
|
222
|
+
"aws_binData=00_rand_explicit_altname": {
|
223
|
+
"bsonType": "object",
|
224
|
+
"properties": { "value": { "bsonType": "binData" } }
|
225
|
+
},
|
226
|
+
"aws_binData=00_det_auto_id": {
|
227
|
+
"bsonType": "object",
|
228
|
+
"properties": {
|
229
|
+
"value": {
|
230
|
+
"encrypt": {
|
231
|
+
"keyId": [
|
232
|
+
{
|
233
|
+
"$binary": {
|
234
|
+
"base64": "AWSAAAAAAAAAAAAAAAAAAA==",
|
235
|
+
"subType": "04"
|
236
|
+
}
|
237
|
+
}
|
238
|
+
],
|
239
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic",
|
240
|
+
"bsonType": "binData"
|
241
|
+
}
|
242
|
+
}
|
243
|
+
}
|
244
|
+
},
|
245
|
+
"aws_binData=00_det_explicit_id": {
|
246
|
+
"bsonType": "object",
|
247
|
+
"properties": { "value": { "bsonType": "binData" } }
|
248
|
+
},
|
249
|
+
"aws_binData=00_det_explicit_altname": {
|
250
|
+
"bsonType": "object",
|
251
|
+
"properties": { "value": { "bsonType": "binData" } }
|
252
|
+
},
|
253
|
+
"aws_binData=04_rand_auto_id": {
|
254
|
+
"bsonType": "object",
|
255
|
+
"properties": {
|
256
|
+
"value": {
|
257
|
+
"encrypt": {
|
258
|
+
"keyId": [
|
259
|
+
{
|
260
|
+
"$binary": {
|
261
|
+
"base64": "AWSAAAAAAAAAAAAAAAAAAA==",
|
262
|
+
"subType": "04"
|
263
|
+
}
|
264
|
+
}
|
265
|
+
],
|
266
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
267
|
+
"bsonType": "binData"
|
268
|
+
}
|
269
|
+
}
|
270
|
+
}
|
271
|
+
},
|
272
|
+
"aws_binData=04_rand_auto_altname": {
|
273
|
+
"bsonType": "object",
|
274
|
+
"properties": {
|
275
|
+
"value": {
|
276
|
+
"encrypt": {
|
277
|
+
"keyId": "/altname_aws",
|
278
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
279
|
+
"bsonType": "binData"
|
280
|
+
}
|
281
|
+
}
|
282
|
+
}
|
283
|
+
},
|
284
|
+
"aws_binData=04_rand_explicit_id": {
|
285
|
+
"bsonType": "object",
|
286
|
+
"properties": { "value": { "bsonType": "binData" } }
|
287
|
+
},
|
288
|
+
"aws_binData=04_rand_explicit_altname": {
|
289
|
+
"bsonType": "object",
|
290
|
+
"properties": { "value": { "bsonType": "binData" } }
|
291
|
+
},
|
292
|
+
"aws_binData=04_det_auto_id": {
|
293
|
+
"bsonType": "object",
|
294
|
+
"properties": {
|
295
|
+
"value": {
|
296
|
+
"encrypt": {
|
297
|
+
"keyId": [
|
298
|
+
{
|
299
|
+
"$binary": {
|
300
|
+
"base64": "AWSAAAAAAAAAAAAAAAAAAA==",
|
301
|
+
"subType": "04"
|
302
|
+
}
|
303
|
+
}
|
304
|
+
],
|
305
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic",
|
306
|
+
"bsonType": "binData"
|
307
|
+
}
|
308
|
+
}
|
309
|
+
}
|
310
|
+
},
|
311
|
+
"aws_binData=04_det_explicit_id": {
|
312
|
+
"bsonType": "object",
|
313
|
+
"properties": { "value": { "bsonType": "binData" } }
|
314
|
+
},
|
315
|
+
"aws_binData=04_det_explicit_altname": {
|
316
|
+
"bsonType": "object",
|
317
|
+
"properties": { "value": { "bsonType": "binData" } }
|
318
|
+
},
|
319
|
+
"aws_objectId_rand_auto_id": {
|
320
|
+
"bsonType": "object",
|
321
|
+
"properties": {
|
322
|
+
"value": {
|
323
|
+
"encrypt": {
|
324
|
+
"keyId": [
|
325
|
+
{
|
326
|
+
"$binary": {
|
327
|
+
"base64": "AWSAAAAAAAAAAAAAAAAAAA==",
|
328
|
+
"subType": "04"
|
329
|
+
}
|
330
|
+
}
|
331
|
+
],
|
332
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
333
|
+
"bsonType": "objectId"
|
334
|
+
}
|
335
|
+
}
|
336
|
+
}
|
337
|
+
},
|
338
|
+
"aws_objectId_rand_auto_altname": {
|
339
|
+
"bsonType": "object",
|
340
|
+
"properties": {
|
341
|
+
"value": {
|
342
|
+
"encrypt": {
|
343
|
+
"keyId": "/altname_aws",
|
344
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
345
|
+
"bsonType": "objectId"
|
346
|
+
}
|
347
|
+
}
|
348
|
+
}
|
349
|
+
},
|
350
|
+
"aws_objectId_rand_explicit_id": {
|
351
|
+
"bsonType": "object",
|
352
|
+
"properties": { "value": { "bsonType": "binData" } }
|
353
|
+
},
|
354
|
+
"aws_objectId_rand_explicit_altname": {
|
355
|
+
"bsonType": "object",
|
356
|
+
"properties": { "value": { "bsonType": "binData" } }
|
357
|
+
},
|
358
|
+
"aws_objectId_det_auto_id": {
|
359
|
+
"bsonType": "object",
|
360
|
+
"properties": {
|
361
|
+
"value": {
|
362
|
+
"encrypt": {
|
363
|
+
"keyId": [
|
364
|
+
{
|
365
|
+
"$binary": {
|
366
|
+
"base64": "AWSAAAAAAAAAAAAAAAAAAA==",
|
367
|
+
"subType": "04"
|
368
|
+
}
|
369
|
+
}
|
370
|
+
],
|
371
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic",
|
372
|
+
"bsonType": "objectId"
|
373
|
+
}
|
374
|
+
}
|
375
|
+
}
|
376
|
+
},
|
377
|
+
"aws_objectId_det_explicit_id": {
|
378
|
+
"bsonType": "object",
|
379
|
+
"properties": { "value": { "bsonType": "binData" } }
|
380
|
+
},
|
381
|
+
"aws_objectId_det_explicit_altname": {
|
382
|
+
"bsonType": "object",
|
383
|
+
"properties": { "value": { "bsonType": "binData" } }
|
384
|
+
},
|
385
|
+
"aws_bool_rand_auto_id": {
|
386
|
+
"bsonType": "object",
|
387
|
+
"properties": {
|
388
|
+
"value": {
|
389
|
+
"encrypt": {
|
390
|
+
"keyId": [
|
391
|
+
{
|
392
|
+
"$binary": {
|
393
|
+
"base64": "AWSAAAAAAAAAAAAAAAAAAA==",
|
394
|
+
"subType": "04"
|
395
|
+
}
|
396
|
+
}
|
397
|
+
],
|
398
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
399
|
+
"bsonType": "bool"
|
400
|
+
}
|
401
|
+
}
|
402
|
+
}
|
403
|
+
},
|
404
|
+
"aws_bool_rand_auto_altname": {
|
405
|
+
"bsonType": "object",
|
406
|
+
"properties": {
|
407
|
+
"value": {
|
408
|
+
"encrypt": {
|
409
|
+
"keyId": "/altname_aws",
|
410
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
411
|
+
"bsonType": "bool"
|
412
|
+
}
|
413
|
+
}
|
414
|
+
}
|
415
|
+
},
|
416
|
+
"aws_bool_rand_explicit_id": {
|
417
|
+
"bsonType": "object",
|
418
|
+
"properties": { "value": { "bsonType": "binData" } }
|
419
|
+
},
|
420
|
+
"aws_bool_rand_explicit_altname": {
|
421
|
+
"bsonType": "object",
|
422
|
+
"properties": { "value": { "bsonType": "binData" } }
|
423
|
+
},
|
424
|
+
"aws_date_rand_auto_id": {
|
425
|
+
"bsonType": "object",
|
426
|
+
"properties": {
|
427
|
+
"value": {
|
428
|
+
"encrypt": {
|
429
|
+
"keyId": [
|
430
|
+
{
|
431
|
+
"$binary": {
|
432
|
+
"base64": "AWSAAAAAAAAAAAAAAAAAAA==",
|
433
|
+
"subType": "04"
|
434
|
+
}
|
435
|
+
}
|
436
|
+
],
|
437
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
438
|
+
"bsonType": "date"
|
439
|
+
}
|
440
|
+
}
|
441
|
+
}
|
442
|
+
},
|
443
|
+
"aws_date_rand_auto_altname": {
|
444
|
+
"bsonType": "object",
|
445
|
+
"properties": {
|
446
|
+
"value": {
|
447
|
+
"encrypt": {
|
448
|
+
"keyId": "/altname_aws",
|
449
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
450
|
+
"bsonType": "date"
|
451
|
+
}
|
452
|
+
}
|
453
|
+
}
|
454
|
+
},
|
455
|
+
"aws_date_rand_explicit_id": {
|
456
|
+
"bsonType": "object",
|
457
|
+
"properties": { "value": { "bsonType": "binData" } }
|
458
|
+
},
|
459
|
+
"aws_date_rand_explicit_altname": {
|
460
|
+
"bsonType": "object",
|
461
|
+
"properties": { "value": { "bsonType": "binData" } }
|
462
|
+
},
|
463
|
+
"aws_date_det_auto_id": {
|
464
|
+
"bsonType": "object",
|
465
|
+
"properties": {
|
466
|
+
"value": {
|
467
|
+
"encrypt": {
|
468
|
+
"keyId": [
|
469
|
+
{
|
470
|
+
"$binary": {
|
471
|
+
"base64": "AWSAAAAAAAAAAAAAAAAAAA==",
|
472
|
+
"subType": "04"
|
473
|
+
}
|
474
|
+
}
|
475
|
+
],
|
476
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic",
|
477
|
+
"bsonType": "date"
|
478
|
+
}
|
479
|
+
}
|
480
|
+
}
|
481
|
+
},
|
482
|
+
"aws_date_det_explicit_id": {
|
483
|
+
"bsonType": "object",
|
484
|
+
"properties": { "value": { "bsonType": "binData" } }
|
485
|
+
},
|
486
|
+
"aws_date_det_explicit_altname": {
|
487
|
+
"bsonType": "object",
|
488
|
+
"properties": { "value": { "bsonType": "binData" } }
|
489
|
+
},
|
490
|
+
"aws_regex_rand_auto_id": {
|
491
|
+
"bsonType": "object",
|
492
|
+
"properties": {
|
493
|
+
"value": {
|
494
|
+
"encrypt": {
|
495
|
+
"keyId": [
|
496
|
+
{
|
497
|
+
"$binary": {
|
498
|
+
"base64": "AWSAAAAAAAAAAAAAAAAAAA==",
|
499
|
+
"subType": "04"
|
500
|
+
}
|
501
|
+
}
|
502
|
+
],
|
503
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
504
|
+
"bsonType": "regex"
|
505
|
+
}
|
506
|
+
}
|
507
|
+
}
|
508
|
+
},
|
509
|
+
"aws_regex_rand_auto_altname": {
|
510
|
+
"bsonType": "object",
|
511
|
+
"properties": {
|
512
|
+
"value": {
|
513
|
+
"encrypt": {
|
514
|
+
"keyId": "/altname_aws",
|
515
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
516
|
+
"bsonType": "regex"
|
517
|
+
}
|
518
|
+
}
|
519
|
+
}
|
520
|
+
},
|
521
|
+
"aws_regex_rand_explicit_id": {
|
522
|
+
"bsonType": "object",
|
523
|
+
"properties": { "value": { "bsonType": "binData" } }
|
524
|
+
},
|
525
|
+
"aws_regex_rand_explicit_altname": {
|
526
|
+
"bsonType": "object",
|
527
|
+
"properties": { "value": { "bsonType": "binData" } }
|
528
|
+
},
|
529
|
+
"aws_regex_det_auto_id": {
|
530
|
+
"bsonType": "object",
|
531
|
+
"properties": {
|
532
|
+
"value": {
|
533
|
+
"encrypt": {
|
534
|
+
"keyId": [
|
535
|
+
{
|
536
|
+
"$binary": {
|
537
|
+
"base64": "AWSAAAAAAAAAAAAAAAAAAA==",
|
538
|
+
"subType": "04"
|
539
|
+
}
|
540
|
+
}
|
541
|
+
],
|
542
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic",
|
543
|
+
"bsonType": "regex"
|
544
|
+
}
|
545
|
+
}
|
546
|
+
}
|
547
|
+
},
|
548
|
+
"aws_regex_det_explicit_id": {
|
549
|
+
"bsonType": "object",
|
550
|
+
"properties": { "value": { "bsonType": "binData" } }
|
551
|
+
},
|
552
|
+
"aws_regex_det_explicit_altname": {
|
553
|
+
"bsonType": "object",
|
554
|
+
"properties": { "value": { "bsonType": "binData" } }
|
555
|
+
},
|
556
|
+
"aws_dbPointer_rand_auto_id": {
|
557
|
+
"bsonType": "object",
|
558
|
+
"properties": {
|
559
|
+
"value": {
|
560
|
+
"encrypt": {
|
561
|
+
"keyId": [
|
562
|
+
{
|
563
|
+
"$binary": {
|
564
|
+
"base64": "AWSAAAAAAAAAAAAAAAAAAA==",
|
565
|
+
"subType": "04"
|
566
|
+
}
|
567
|
+
}
|
568
|
+
],
|
569
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
570
|
+
"bsonType": "dbPointer"
|
571
|
+
}
|
572
|
+
}
|
573
|
+
}
|
574
|
+
},
|
575
|
+
"aws_dbPointer_rand_auto_altname": {
|
576
|
+
"bsonType": "object",
|
577
|
+
"properties": {
|
578
|
+
"value": {
|
579
|
+
"encrypt": {
|
580
|
+
"keyId": "/altname_aws",
|
581
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
582
|
+
"bsonType": "dbPointer"
|
583
|
+
}
|
584
|
+
}
|
585
|
+
}
|
586
|
+
},
|
587
|
+
"aws_dbPointer_rand_explicit_id": {
|
588
|
+
"bsonType": "object",
|
589
|
+
"properties": { "value": { "bsonType": "binData" } }
|
590
|
+
},
|
591
|
+
"aws_dbPointer_rand_explicit_altname": {
|
592
|
+
"bsonType": "object",
|
593
|
+
"properties": { "value": { "bsonType": "binData" } }
|
594
|
+
},
|
595
|
+
"aws_dbPointer_det_auto_id": {
|
596
|
+
"bsonType": "object",
|
597
|
+
"properties": {
|
598
|
+
"value": {
|
599
|
+
"encrypt": {
|
600
|
+
"keyId": [
|
601
|
+
{
|
602
|
+
"$binary": {
|
603
|
+
"base64": "AWSAAAAAAAAAAAAAAAAAAA==",
|
604
|
+
"subType": "04"
|
605
|
+
}
|
606
|
+
}
|
607
|
+
],
|
608
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic",
|
609
|
+
"bsonType": "dbPointer"
|
610
|
+
}
|
611
|
+
}
|
612
|
+
}
|
613
|
+
},
|
614
|
+
"aws_dbPointer_det_explicit_id": {
|
615
|
+
"bsonType": "object",
|
616
|
+
"properties": { "value": { "bsonType": "binData" } }
|
617
|
+
},
|
618
|
+
"aws_dbPointer_det_explicit_altname": {
|
619
|
+
"bsonType": "object",
|
620
|
+
"properties": { "value": { "bsonType": "binData" } }
|
621
|
+
},
|
622
|
+
"aws_javascript_rand_auto_id": {
|
623
|
+
"bsonType": "object",
|
624
|
+
"properties": {
|
625
|
+
"value": {
|
626
|
+
"encrypt": {
|
627
|
+
"keyId": [
|
628
|
+
{
|
629
|
+
"$binary": {
|
630
|
+
"base64": "AWSAAAAAAAAAAAAAAAAAAA==",
|
631
|
+
"subType": "04"
|
632
|
+
}
|
633
|
+
}
|
634
|
+
],
|
635
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
636
|
+
"bsonType": "javascript"
|
637
|
+
}
|
638
|
+
}
|
639
|
+
}
|
640
|
+
},
|
641
|
+
"aws_javascript_rand_auto_altname": {
|
642
|
+
"bsonType": "object",
|
643
|
+
"properties": {
|
644
|
+
"value": {
|
645
|
+
"encrypt": {
|
646
|
+
"keyId": "/altname_aws",
|
647
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
648
|
+
"bsonType": "javascript"
|
649
|
+
}
|
650
|
+
}
|
651
|
+
}
|
652
|
+
},
|
653
|
+
"aws_javascript_rand_explicit_id": {
|
654
|
+
"bsonType": "object",
|
655
|
+
"properties": { "value": { "bsonType": "binData" } }
|
656
|
+
},
|
657
|
+
"aws_javascript_rand_explicit_altname": {
|
658
|
+
"bsonType": "object",
|
659
|
+
"properties": { "value": { "bsonType": "binData" } }
|
660
|
+
},
|
661
|
+
"aws_javascript_det_auto_id": {
|
662
|
+
"bsonType": "object",
|
663
|
+
"properties": {
|
664
|
+
"value": {
|
665
|
+
"encrypt": {
|
666
|
+
"keyId": [
|
667
|
+
{
|
668
|
+
"$binary": {
|
669
|
+
"base64": "AWSAAAAAAAAAAAAAAAAAAA==",
|
670
|
+
"subType": "04"
|
671
|
+
}
|
672
|
+
}
|
673
|
+
],
|
674
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic",
|
675
|
+
"bsonType": "javascript"
|
676
|
+
}
|
677
|
+
}
|
678
|
+
}
|
679
|
+
},
|
680
|
+
"aws_javascript_det_explicit_id": {
|
681
|
+
"bsonType": "object",
|
682
|
+
"properties": { "value": { "bsonType": "binData" } }
|
683
|
+
},
|
684
|
+
"aws_javascript_det_explicit_altname": {
|
685
|
+
"bsonType": "object",
|
686
|
+
"properties": { "value": { "bsonType": "binData" } }
|
687
|
+
},
|
688
|
+
"aws_symbol_rand_auto_id": {
|
689
|
+
"bsonType": "object",
|
690
|
+
"properties": {
|
691
|
+
"value": {
|
692
|
+
"encrypt": {
|
693
|
+
"keyId": [
|
694
|
+
{
|
695
|
+
"$binary": {
|
696
|
+
"base64": "AWSAAAAAAAAAAAAAAAAAAA==",
|
697
|
+
"subType": "04"
|
698
|
+
}
|
699
|
+
}
|
700
|
+
],
|
701
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
702
|
+
"bsonType": "symbol"
|
703
|
+
}
|
704
|
+
}
|
705
|
+
}
|
706
|
+
},
|
707
|
+
"aws_symbol_rand_auto_altname": {
|
708
|
+
"bsonType": "object",
|
709
|
+
"properties": {
|
710
|
+
"value": {
|
711
|
+
"encrypt": {
|
712
|
+
"keyId": "/altname_aws",
|
713
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
714
|
+
"bsonType": "symbol"
|
715
|
+
}
|
716
|
+
}
|
717
|
+
}
|
718
|
+
},
|
719
|
+
"aws_symbol_rand_explicit_id": {
|
720
|
+
"bsonType": "object",
|
721
|
+
"properties": { "value": { "bsonType": "binData" } }
|
722
|
+
},
|
723
|
+
"aws_symbol_rand_explicit_altname": {
|
724
|
+
"bsonType": "object",
|
725
|
+
"properties": { "value": { "bsonType": "binData" } }
|
726
|
+
},
|
727
|
+
"aws_symbol_det_auto_id": {
|
728
|
+
"bsonType": "object",
|
729
|
+
"properties": {
|
730
|
+
"value": {
|
731
|
+
"encrypt": {
|
732
|
+
"keyId": [
|
733
|
+
{
|
734
|
+
"$binary": {
|
735
|
+
"base64": "AWSAAAAAAAAAAAAAAAAAAA==",
|
736
|
+
"subType": "04"
|
737
|
+
}
|
738
|
+
}
|
739
|
+
],
|
740
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic",
|
741
|
+
"bsonType": "symbol"
|
742
|
+
}
|
743
|
+
}
|
744
|
+
}
|
745
|
+
},
|
746
|
+
"aws_symbol_det_explicit_id": {
|
747
|
+
"bsonType": "object",
|
748
|
+
"properties": { "value": { "bsonType": "binData" } }
|
749
|
+
},
|
750
|
+
"aws_symbol_det_explicit_altname": {
|
751
|
+
"bsonType": "object",
|
752
|
+
"properties": { "value": { "bsonType": "binData" } }
|
753
|
+
},
|
754
|
+
"aws_javascriptWithScope_rand_auto_id": {
|
755
|
+
"bsonType": "object",
|
756
|
+
"properties": {
|
757
|
+
"value": {
|
758
|
+
"encrypt": {
|
759
|
+
"keyId": [
|
760
|
+
{
|
761
|
+
"$binary": {
|
762
|
+
"base64": "AWSAAAAAAAAAAAAAAAAAAA==",
|
763
|
+
"subType": "04"
|
764
|
+
}
|
765
|
+
}
|
766
|
+
],
|
767
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
768
|
+
"bsonType": "javascriptWithScope"
|
769
|
+
}
|
770
|
+
}
|
771
|
+
}
|
772
|
+
},
|
773
|
+
"aws_javascriptWithScope_rand_auto_altname": {
|
774
|
+
"bsonType": "object",
|
775
|
+
"properties": {
|
776
|
+
"value": {
|
777
|
+
"encrypt": {
|
778
|
+
"keyId": "/altname_aws",
|
779
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
780
|
+
"bsonType": "javascriptWithScope"
|
781
|
+
}
|
782
|
+
}
|
783
|
+
}
|
784
|
+
},
|
785
|
+
"aws_javascriptWithScope_rand_explicit_id": {
|
786
|
+
"bsonType": "object",
|
787
|
+
"properties": { "value": { "bsonType": "binData" } }
|
788
|
+
},
|
789
|
+
"aws_javascriptWithScope_rand_explicit_altname": {
|
790
|
+
"bsonType": "object",
|
791
|
+
"properties": { "value": { "bsonType": "binData" } }
|
792
|
+
},
|
793
|
+
"aws_int_rand_auto_id": {
|
794
|
+
"bsonType": "object",
|
795
|
+
"properties": {
|
796
|
+
"value": {
|
797
|
+
"encrypt": {
|
798
|
+
"keyId": [
|
799
|
+
{
|
800
|
+
"$binary": {
|
801
|
+
"base64": "AWSAAAAAAAAAAAAAAAAAAA==",
|
802
|
+
"subType": "04"
|
803
|
+
}
|
804
|
+
}
|
805
|
+
],
|
806
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
807
|
+
"bsonType": "int"
|
808
|
+
}
|
809
|
+
}
|
810
|
+
}
|
811
|
+
},
|
812
|
+
"aws_int_rand_auto_altname": {
|
813
|
+
"bsonType": "object",
|
814
|
+
"properties": {
|
815
|
+
"value": {
|
816
|
+
"encrypt": {
|
817
|
+
"keyId": "/altname_aws",
|
818
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
819
|
+
"bsonType": "int"
|
820
|
+
}
|
821
|
+
}
|
822
|
+
}
|
823
|
+
},
|
824
|
+
"aws_int_rand_explicit_id": {
|
825
|
+
"bsonType": "object",
|
826
|
+
"properties": { "value": { "bsonType": "binData" } }
|
827
|
+
},
|
828
|
+
"aws_int_rand_explicit_altname": {
|
829
|
+
"bsonType": "object",
|
830
|
+
"properties": { "value": { "bsonType": "binData" } }
|
831
|
+
},
|
832
|
+
"aws_int_det_auto_id": {
|
833
|
+
"bsonType": "object",
|
834
|
+
"properties": {
|
835
|
+
"value": {
|
836
|
+
"encrypt": {
|
837
|
+
"keyId": [
|
838
|
+
{
|
839
|
+
"$binary": {
|
840
|
+
"base64": "AWSAAAAAAAAAAAAAAAAAAA==",
|
841
|
+
"subType": "04"
|
842
|
+
}
|
843
|
+
}
|
844
|
+
],
|
845
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic",
|
846
|
+
"bsonType": "int"
|
847
|
+
}
|
848
|
+
}
|
849
|
+
}
|
850
|
+
},
|
851
|
+
"aws_int_det_explicit_id": {
|
852
|
+
"bsonType": "object",
|
853
|
+
"properties": { "value": { "bsonType": "binData" } }
|
854
|
+
},
|
855
|
+
"aws_int_det_explicit_altname": {
|
856
|
+
"bsonType": "object",
|
857
|
+
"properties": { "value": { "bsonType": "binData" } }
|
858
|
+
},
|
859
|
+
"aws_timestamp_rand_auto_id": {
|
860
|
+
"bsonType": "object",
|
861
|
+
"properties": {
|
862
|
+
"value": {
|
863
|
+
"encrypt": {
|
864
|
+
"keyId": [
|
865
|
+
{
|
866
|
+
"$binary": {
|
867
|
+
"base64": "AWSAAAAAAAAAAAAAAAAAAA==",
|
868
|
+
"subType": "04"
|
869
|
+
}
|
870
|
+
}
|
871
|
+
],
|
872
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
873
|
+
"bsonType": "timestamp"
|
874
|
+
}
|
875
|
+
}
|
876
|
+
}
|
877
|
+
},
|
878
|
+
"aws_timestamp_rand_auto_altname": {
|
879
|
+
"bsonType": "object",
|
880
|
+
"properties": {
|
881
|
+
"value": {
|
882
|
+
"encrypt": {
|
883
|
+
"keyId": "/altname_aws",
|
884
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
885
|
+
"bsonType": "timestamp"
|
886
|
+
}
|
887
|
+
}
|
888
|
+
}
|
889
|
+
},
|
890
|
+
"aws_timestamp_rand_explicit_id": {
|
891
|
+
"bsonType": "object",
|
892
|
+
"properties": { "value": { "bsonType": "binData" } }
|
893
|
+
},
|
894
|
+
"aws_timestamp_rand_explicit_altname": {
|
895
|
+
"bsonType": "object",
|
896
|
+
"properties": { "value": { "bsonType": "binData" } }
|
897
|
+
},
|
898
|
+
"aws_timestamp_det_auto_id": {
|
899
|
+
"bsonType": "object",
|
900
|
+
"properties": {
|
901
|
+
"value": {
|
902
|
+
"encrypt": {
|
903
|
+
"keyId": [
|
904
|
+
{
|
905
|
+
"$binary": {
|
906
|
+
"base64": "AWSAAAAAAAAAAAAAAAAAAA==",
|
907
|
+
"subType": "04"
|
908
|
+
}
|
909
|
+
}
|
910
|
+
],
|
911
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic",
|
912
|
+
"bsonType": "timestamp"
|
913
|
+
}
|
914
|
+
}
|
915
|
+
}
|
916
|
+
},
|
917
|
+
"aws_timestamp_det_explicit_id": {
|
918
|
+
"bsonType": "object",
|
919
|
+
"properties": { "value": { "bsonType": "binData" } }
|
920
|
+
},
|
921
|
+
"aws_timestamp_det_explicit_altname": {
|
922
|
+
"bsonType": "object",
|
923
|
+
"properties": { "value": { "bsonType": "binData" } }
|
924
|
+
},
|
925
|
+
"aws_long_rand_auto_id": {
|
926
|
+
"bsonType": "object",
|
927
|
+
"properties": {
|
928
|
+
"value": {
|
929
|
+
"encrypt": {
|
930
|
+
"keyId": [
|
931
|
+
{
|
932
|
+
"$binary": {
|
933
|
+
"base64": "AWSAAAAAAAAAAAAAAAAAAA==",
|
934
|
+
"subType": "04"
|
935
|
+
}
|
936
|
+
}
|
937
|
+
],
|
938
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
939
|
+
"bsonType": "long"
|
940
|
+
}
|
941
|
+
}
|
942
|
+
}
|
943
|
+
},
|
944
|
+
"aws_long_rand_auto_altname": {
|
945
|
+
"bsonType": "object",
|
946
|
+
"properties": {
|
947
|
+
"value": {
|
948
|
+
"encrypt": {
|
949
|
+
"keyId": "/altname_aws",
|
950
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
951
|
+
"bsonType": "long"
|
952
|
+
}
|
953
|
+
}
|
954
|
+
}
|
955
|
+
},
|
956
|
+
"aws_long_rand_explicit_id": {
|
957
|
+
"bsonType": "object",
|
958
|
+
"properties": { "value": { "bsonType": "binData" } }
|
959
|
+
},
|
960
|
+
"aws_long_rand_explicit_altname": {
|
961
|
+
"bsonType": "object",
|
962
|
+
"properties": { "value": { "bsonType": "binData" } }
|
963
|
+
},
|
964
|
+
"aws_long_det_auto_id": {
|
965
|
+
"bsonType": "object",
|
966
|
+
"properties": {
|
967
|
+
"value": {
|
968
|
+
"encrypt": {
|
969
|
+
"keyId": [
|
970
|
+
{
|
971
|
+
"$binary": {
|
972
|
+
"base64": "AWSAAAAAAAAAAAAAAAAAAA==",
|
973
|
+
"subType": "04"
|
974
|
+
}
|
975
|
+
}
|
976
|
+
],
|
977
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic",
|
978
|
+
"bsonType": "long"
|
979
|
+
}
|
980
|
+
}
|
981
|
+
}
|
982
|
+
},
|
983
|
+
"aws_long_det_explicit_id": {
|
984
|
+
"bsonType": "object",
|
985
|
+
"properties": { "value": { "bsonType": "binData" } }
|
986
|
+
},
|
987
|
+
"aws_long_det_explicit_altname": {
|
988
|
+
"bsonType": "object",
|
989
|
+
"properties": { "value": { "bsonType": "binData" } }
|
990
|
+
},
|
991
|
+
"aws_decimal_rand_auto_id": {
|
992
|
+
"bsonType": "object",
|
993
|
+
"properties": {
|
994
|
+
"value": {
|
995
|
+
"encrypt": {
|
996
|
+
"keyId": [
|
997
|
+
{
|
998
|
+
"$binary": {
|
999
|
+
"base64": "AWSAAAAAAAAAAAAAAAAAAA==",
|
1000
|
+
"subType": "04"
|
1001
|
+
}
|
1002
|
+
}
|
1003
|
+
],
|
1004
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1005
|
+
"bsonType": "decimal"
|
1006
|
+
}
|
1007
|
+
}
|
1008
|
+
}
|
1009
|
+
},
|
1010
|
+
"aws_decimal_rand_auto_altname": {
|
1011
|
+
"bsonType": "object",
|
1012
|
+
"properties": {
|
1013
|
+
"value": {
|
1014
|
+
"encrypt": {
|
1015
|
+
"keyId": "/altname_aws",
|
1016
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1017
|
+
"bsonType": "decimal"
|
1018
|
+
}
|
1019
|
+
}
|
1020
|
+
}
|
1021
|
+
},
|
1022
|
+
"aws_decimal_rand_explicit_id": {
|
1023
|
+
"bsonType": "object",
|
1024
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1025
|
+
},
|
1026
|
+
"aws_decimal_rand_explicit_altname": {
|
1027
|
+
"bsonType": "object",
|
1028
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1029
|
+
},
|
1030
|
+
"local_double_rand_auto_id": {
|
1031
|
+
"bsonType": "object",
|
1032
|
+
"properties": {
|
1033
|
+
"value": {
|
1034
|
+
"encrypt": {
|
1035
|
+
"keyId": [
|
1036
|
+
{
|
1037
|
+
"$binary": {
|
1038
|
+
"base64": "LOCALAAAAAAAAAAAAAAAAA==",
|
1039
|
+
"subType": "04"
|
1040
|
+
}
|
1041
|
+
}
|
1042
|
+
],
|
1043
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1044
|
+
"bsonType": "double"
|
1045
|
+
}
|
1046
|
+
}
|
1047
|
+
}
|
1048
|
+
},
|
1049
|
+
"local_double_rand_auto_altname": {
|
1050
|
+
"bsonType": "object",
|
1051
|
+
"properties": {
|
1052
|
+
"value": {
|
1053
|
+
"encrypt": {
|
1054
|
+
"keyId": "/altname_local",
|
1055
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1056
|
+
"bsonType": "double"
|
1057
|
+
}
|
1058
|
+
}
|
1059
|
+
}
|
1060
|
+
},
|
1061
|
+
"local_double_rand_explicit_id": {
|
1062
|
+
"bsonType": "object",
|
1063
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1064
|
+
},
|
1065
|
+
"local_double_rand_explicit_altname": {
|
1066
|
+
"bsonType": "object",
|
1067
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1068
|
+
},
|
1069
|
+
"local_string_rand_auto_id": {
|
1070
|
+
"bsonType": "object",
|
1071
|
+
"properties": {
|
1072
|
+
"value": {
|
1073
|
+
"encrypt": {
|
1074
|
+
"keyId": [
|
1075
|
+
{
|
1076
|
+
"$binary": {
|
1077
|
+
"base64": "LOCALAAAAAAAAAAAAAAAAA==",
|
1078
|
+
"subType": "04"
|
1079
|
+
}
|
1080
|
+
}
|
1081
|
+
],
|
1082
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1083
|
+
"bsonType": "string"
|
1084
|
+
}
|
1085
|
+
}
|
1086
|
+
}
|
1087
|
+
},
|
1088
|
+
"local_string_rand_auto_altname": {
|
1089
|
+
"bsonType": "object",
|
1090
|
+
"properties": {
|
1091
|
+
"value": {
|
1092
|
+
"encrypt": {
|
1093
|
+
"keyId": "/altname_local",
|
1094
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1095
|
+
"bsonType": "string"
|
1096
|
+
}
|
1097
|
+
}
|
1098
|
+
}
|
1099
|
+
},
|
1100
|
+
"local_string_rand_explicit_id": {
|
1101
|
+
"bsonType": "object",
|
1102
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1103
|
+
},
|
1104
|
+
"local_string_rand_explicit_altname": {
|
1105
|
+
"bsonType": "object",
|
1106
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1107
|
+
},
|
1108
|
+
"local_string_det_auto_id": {
|
1109
|
+
"bsonType": "object",
|
1110
|
+
"properties": {
|
1111
|
+
"value": {
|
1112
|
+
"encrypt": {
|
1113
|
+
"keyId": [
|
1114
|
+
{
|
1115
|
+
"$binary": {
|
1116
|
+
"base64": "LOCALAAAAAAAAAAAAAAAAA==",
|
1117
|
+
"subType": "04"
|
1118
|
+
}
|
1119
|
+
}
|
1120
|
+
],
|
1121
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic",
|
1122
|
+
"bsonType": "string"
|
1123
|
+
}
|
1124
|
+
}
|
1125
|
+
}
|
1126
|
+
},
|
1127
|
+
"local_string_det_explicit_id": {
|
1128
|
+
"bsonType": "object",
|
1129
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1130
|
+
},
|
1131
|
+
"local_string_det_explicit_altname": {
|
1132
|
+
"bsonType": "object",
|
1133
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1134
|
+
},
|
1135
|
+
"local_object_rand_auto_id": {
|
1136
|
+
"bsonType": "object",
|
1137
|
+
"properties": {
|
1138
|
+
"value": {
|
1139
|
+
"encrypt": {
|
1140
|
+
"keyId": [
|
1141
|
+
{
|
1142
|
+
"$binary": {
|
1143
|
+
"base64": "LOCALAAAAAAAAAAAAAAAAA==",
|
1144
|
+
"subType": "04"
|
1145
|
+
}
|
1146
|
+
}
|
1147
|
+
],
|
1148
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1149
|
+
"bsonType": "object"
|
1150
|
+
}
|
1151
|
+
}
|
1152
|
+
}
|
1153
|
+
},
|
1154
|
+
"local_object_rand_auto_altname": {
|
1155
|
+
"bsonType": "object",
|
1156
|
+
"properties": {
|
1157
|
+
"value": {
|
1158
|
+
"encrypt": {
|
1159
|
+
"keyId": "/altname_local",
|
1160
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1161
|
+
"bsonType": "object"
|
1162
|
+
}
|
1163
|
+
}
|
1164
|
+
}
|
1165
|
+
},
|
1166
|
+
"local_object_rand_explicit_id": {
|
1167
|
+
"bsonType": "object",
|
1168
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1169
|
+
},
|
1170
|
+
"local_object_rand_explicit_altname": {
|
1171
|
+
"bsonType": "object",
|
1172
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1173
|
+
},
|
1174
|
+
"local_array_rand_auto_id": {
|
1175
|
+
"bsonType": "object",
|
1176
|
+
"properties": {
|
1177
|
+
"value": {
|
1178
|
+
"encrypt": {
|
1179
|
+
"keyId": [
|
1180
|
+
{
|
1181
|
+
"$binary": {
|
1182
|
+
"base64": "LOCALAAAAAAAAAAAAAAAAA==",
|
1183
|
+
"subType": "04"
|
1184
|
+
}
|
1185
|
+
}
|
1186
|
+
],
|
1187
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1188
|
+
"bsonType": "array"
|
1189
|
+
}
|
1190
|
+
}
|
1191
|
+
}
|
1192
|
+
},
|
1193
|
+
"local_array_rand_auto_altname": {
|
1194
|
+
"bsonType": "object",
|
1195
|
+
"properties": {
|
1196
|
+
"value": {
|
1197
|
+
"encrypt": {
|
1198
|
+
"keyId": "/altname_local",
|
1199
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1200
|
+
"bsonType": "array"
|
1201
|
+
}
|
1202
|
+
}
|
1203
|
+
}
|
1204
|
+
},
|
1205
|
+
"local_array_rand_explicit_id": {
|
1206
|
+
"bsonType": "object",
|
1207
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1208
|
+
},
|
1209
|
+
"local_array_rand_explicit_altname": {
|
1210
|
+
"bsonType": "object",
|
1211
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1212
|
+
},
|
1213
|
+
"local_binData=00_rand_auto_id": {
|
1214
|
+
"bsonType": "object",
|
1215
|
+
"properties": {
|
1216
|
+
"value": {
|
1217
|
+
"encrypt": {
|
1218
|
+
"keyId": [
|
1219
|
+
{
|
1220
|
+
"$binary": {
|
1221
|
+
"base64": "LOCALAAAAAAAAAAAAAAAAA==",
|
1222
|
+
"subType": "04"
|
1223
|
+
}
|
1224
|
+
}
|
1225
|
+
],
|
1226
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1227
|
+
"bsonType": "binData"
|
1228
|
+
}
|
1229
|
+
}
|
1230
|
+
}
|
1231
|
+
},
|
1232
|
+
"local_binData=00_rand_auto_altname": {
|
1233
|
+
"bsonType": "object",
|
1234
|
+
"properties": {
|
1235
|
+
"value": {
|
1236
|
+
"encrypt": {
|
1237
|
+
"keyId": "/altname_local",
|
1238
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1239
|
+
"bsonType": "binData"
|
1240
|
+
}
|
1241
|
+
}
|
1242
|
+
}
|
1243
|
+
},
|
1244
|
+
"local_binData=00_rand_explicit_id": {
|
1245
|
+
"bsonType": "object",
|
1246
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1247
|
+
},
|
1248
|
+
"local_binData=00_rand_explicit_altname": {
|
1249
|
+
"bsonType": "object",
|
1250
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1251
|
+
},
|
1252
|
+
"local_binData=00_det_auto_id": {
|
1253
|
+
"bsonType": "object",
|
1254
|
+
"properties": {
|
1255
|
+
"value": {
|
1256
|
+
"encrypt": {
|
1257
|
+
"keyId": [
|
1258
|
+
{
|
1259
|
+
"$binary": {
|
1260
|
+
"base64": "LOCALAAAAAAAAAAAAAAAAA==",
|
1261
|
+
"subType": "04"
|
1262
|
+
}
|
1263
|
+
}
|
1264
|
+
],
|
1265
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic",
|
1266
|
+
"bsonType": "binData"
|
1267
|
+
}
|
1268
|
+
}
|
1269
|
+
}
|
1270
|
+
},
|
1271
|
+
"local_binData=00_det_explicit_id": {
|
1272
|
+
"bsonType": "object",
|
1273
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1274
|
+
},
|
1275
|
+
"local_binData=00_det_explicit_altname": {
|
1276
|
+
"bsonType": "object",
|
1277
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1278
|
+
},
|
1279
|
+
"local_binData=04_rand_auto_id": {
|
1280
|
+
"bsonType": "object",
|
1281
|
+
"properties": {
|
1282
|
+
"value": {
|
1283
|
+
"encrypt": {
|
1284
|
+
"keyId": [
|
1285
|
+
{
|
1286
|
+
"$binary": {
|
1287
|
+
"base64": "LOCALAAAAAAAAAAAAAAAAA==",
|
1288
|
+
"subType": "04"
|
1289
|
+
}
|
1290
|
+
}
|
1291
|
+
],
|
1292
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1293
|
+
"bsonType": "binData"
|
1294
|
+
}
|
1295
|
+
}
|
1296
|
+
}
|
1297
|
+
},
|
1298
|
+
"local_binData=04_rand_auto_altname": {
|
1299
|
+
"bsonType": "object",
|
1300
|
+
"properties": {
|
1301
|
+
"value": {
|
1302
|
+
"encrypt": {
|
1303
|
+
"keyId": "/altname_local",
|
1304
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1305
|
+
"bsonType": "binData"
|
1306
|
+
}
|
1307
|
+
}
|
1308
|
+
}
|
1309
|
+
},
|
1310
|
+
"local_binData=04_rand_explicit_id": {
|
1311
|
+
"bsonType": "object",
|
1312
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1313
|
+
},
|
1314
|
+
"local_binData=04_rand_explicit_altname": {
|
1315
|
+
"bsonType": "object",
|
1316
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1317
|
+
},
|
1318
|
+
"local_binData=04_det_auto_id": {
|
1319
|
+
"bsonType": "object",
|
1320
|
+
"properties": {
|
1321
|
+
"value": {
|
1322
|
+
"encrypt": {
|
1323
|
+
"keyId": [
|
1324
|
+
{
|
1325
|
+
"$binary": {
|
1326
|
+
"base64": "LOCALAAAAAAAAAAAAAAAAA==",
|
1327
|
+
"subType": "04"
|
1328
|
+
}
|
1329
|
+
}
|
1330
|
+
],
|
1331
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic",
|
1332
|
+
"bsonType": "binData"
|
1333
|
+
}
|
1334
|
+
}
|
1335
|
+
}
|
1336
|
+
},
|
1337
|
+
"local_binData=04_det_explicit_id": {
|
1338
|
+
"bsonType": "object",
|
1339
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1340
|
+
},
|
1341
|
+
"local_binData=04_det_explicit_altname": {
|
1342
|
+
"bsonType": "object",
|
1343
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1344
|
+
},
|
1345
|
+
"local_objectId_rand_auto_id": {
|
1346
|
+
"bsonType": "object",
|
1347
|
+
"properties": {
|
1348
|
+
"value": {
|
1349
|
+
"encrypt": {
|
1350
|
+
"keyId": [
|
1351
|
+
{
|
1352
|
+
"$binary": {
|
1353
|
+
"base64": "LOCALAAAAAAAAAAAAAAAAA==",
|
1354
|
+
"subType": "04"
|
1355
|
+
}
|
1356
|
+
}
|
1357
|
+
],
|
1358
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1359
|
+
"bsonType": "objectId"
|
1360
|
+
}
|
1361
|
+
}
|
1362
|
+
}
|
1363
|
+
},
|
1364
|
+
"local_objectId_rand_auto_altname": {
|
1365
|
+
"bsonType": "object",
|
1366
|
+
"properties": {
|
1367
|
+
"value": {
|
1368
|
+
"encrypt": {
|
1369
|
+
"keyId": "/altname_local",
|
1370
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1371
|
+
"bsonType": "objectId"
|
1372
|
+
}
|
1373
|
+
}
|
1374
|
+
}
|
1375
|
+
},
|
1376
|
+
"local_objectId_rand_explicit_id": {
|
1377
|
+
"bsonType": "object",
|
1378
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1379
|
+
},
|
1380
|
+
"local_objectId_rand_explicit_altname": {
|
1381
|
+
"bsonType": "object",
|
1382
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1383
|
+
},
|
1384
|
+
"local_objectId_det_auto_id": {
|
1385
|
+
"bsonType": "object",
|
1386
|
+
"properties": {
|
1387
|
+
"value": {
|
1388
|
+
"encrypt": {
|
1389
|
+
"keyId": [
|
1390
|
+
{
|
1391
|
+
"$binary": {
|
1392
|
+
"base64": "LOCALAAAAAAAAAAAAAAAAA==",
|
1393
|
+
"subType": "04"
|
1394
|
+
}
|
1395
|
+
}
|
1396
|
+
],
|
1397
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic",
|
1398
|
+
"bsonType": "objectId"
|
1399
|
+
}
|
1400
|
+
}
|
1401
|
+
}
|
1402
|
+
},
|
1403
|
+
"local_objectId_det_explicit_id": {
|
1404
|
+
"bsonType": "object",
|
1405
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1406
|
+
},
|
1407
|
+
"local_objectId_det_explicit_altname": {
|
1408
|
+
"bsonType": "object",
|
1409
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1410
|
+
},
|
1411
|
+
"local_bool_rand_auto_id": {
|
1412
|
+
"bsonType": "object",
|
1413
|
+
"properties": {
|
1414
|
+
"value": {
|
1415
|
+
"encrypt": {
|
1416
|
+
"keyId": [
|
1417
|
+
{
|
1418
|
+
"$binary": {
|
1419
|
+
"base64": "LOCALAAAAAAAAAAAAAAAAA==",
|
1420
|
+
"subType": "04"
|
1421
|
+
}
|
1422
|
+
}
|
1423
|
+
],
|
1424
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1425
|
+
"bsonType": "bool"
|
1426
|
+
}
|
1427
|
+
}
|
1428
|
+
}
|
1429
|
+
},
|
1430
|
+
"local_bool_rand_auto_altname": {
|
1431
|
+
"bsonType": "object",
|
1432
|
+
"properties": {
|
1433
|
+
"value": {
|
1434
|
+
"encrypt": {
|
1435
|
+
"keyId": "/altname_local",
|
1436
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1437
|
+
"bsonType": "bool"
|
1438
|
+
}
|
1439
|
+
}
|
1440
|
+
}
|
1441
|
+
},
|
1442
|
+
"local_bool_rand_explicit_id": {
|
1443
|
+
"bsonType": "object",
|
1444
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1445
|
+
},
|
1446
|
+
"local_bool_rand_explicit_altname": {
|
1447
|
+
"bsonType": "object",
|
1448
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1449
|
+
},
|
1450
|
+
"local_date_rand_auto_id": {
|
1451
|
+
"bsonType": "object",
|
1452
|
+
"properties": {
|
1453
|
+
"value": {
|
1454
|
+
"encrypt": {
|
1455
|
+
"keyId": [
|
1456
|
+
{
|
1457
|
+
"$binary": {
|
1458
|
+
"base64": "LOCALAAAAAAAAAAAAAAAAA==",
|
1459
|
+
"subType": "04"
|
1460
|
+
}
|
1461
|
+
}
|
1462
|
+
],
|
1463
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1464
|
+
"bsonType": "date"
|
1465
|
+
}
|
1466
|
+
}
|
1467
|
+
}
|
1468
|
+
},
|
1469
|
+
"local_date_rand_auto_altname": {
|
1470
|
+
"bsonType": "object",
|
1471
|
+
"properties": {
|
1472
|
+
"value": {
|
1473
|
+
"encrypt": {
|
1474
|
+
"keyId": "/altname_local",
|
1475
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1476
|
+
"bsonType": "date"
|
1477
|
+
}
|
1478
|
+
}
|
1479
|
+
}
|
1480
|
+
},
|
1481
|
+
"local_date_rand_explicit_id": {
|
1482
|
+
"bsonType": "object",
|
1483
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1484
|
+
},
|
1485
|
+
"local_date_rand_explicit_altname": {
|
1486
|
+
"bsonType": "object",
|
1487
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1488
|
+
},
|
1489
|
+
"local_date_det_auto_id": {
|
1490
|
+
"bsonType": "object",
|
1491
|
+
"properties": {
|
1492
|
+
"value": {
|
1493
|
+
"encrypt": {
|
1494
|
+
"keyId": [
|
1495
|
+
{
|
1496
|
+
"$binary": {
|
1497
|
+
"base64": "LOCALAAAAAAAAAAAAAAAAA==",
|
1498
|
+
"subType": "04"
|
1499
|
+
}
|
1500
|
+
}
|
1501
|
+
],
|
1502
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic",
|
1503
|
+
"bsonType": "date"
|
1504
|
+
}
|
1505
|
+
}
|
1506
|
+
}
|
1507
|
+
},
|
1508
|
+
"local_date_det_explicit_id": {
|
1509
|
+
"bsonType": "object",
|
1510
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1511
|
+
},
|
1512
|
+
"local_date_det_explicit_altname": {
|
1513
|
+
"bsonType": "object",
|
1514
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1515
|
+
},
|
1516
|
+
"local_regex_rand_auto_id": {
|
1517
|
+
"bsonType": "object",
|
1518
|
+
"properties": {
|
1519
|
+
"value": {
|
1520
|
+
"encrypt": {
|
1521
|
+
"keyId": [
|
1522
|
+
{
|
1523
|
+
"$binary": {
|
1524
|
+
"base64": "LOCALAAAAAAAAAAAAAAAAA==",
|
1525
|
+
"subType": "04"
|
1526
|
+
}
|
1527
|
+
}
|
1528
|
+
],
|
1529
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1530
|
+
"bsonType": "regex"
|
1531
|
+
}
|
1532
|
+
}
|
1533
|
+
}
|
1534
|
+
},
|
1535
|
+
"local_regex_rand_auto_altname": {
|
1536
|
+
"bsonType": "object",
|
1537
|
+
"properties": {
|
1538
|
+
"value": {
|
1539
|
+
"encrypt": {
|
1540
|
+
"keyId": "/altname_local",
|
1541
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1542
|
+
"bsonType": "regex"
|
1543
|
+
}
|
1544
|
+
}
|
1545
|
+
}
|
1546
|
+
},
|
1547
|
+
"local_regex_rand_explicit_id": {
|
1548
|
+
"bsonType": "object",
|
1549
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1550
|
+
},
|
1551
|
+
"local_regex_rand_explicit_altname": {
|
1552
|
+
"bsonType": "object",
|
1553
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1554
|
+
},
|
1555
|
+
"local_regex_det_auto_id": {
|
1556
|
+
"bsonType": "object",
|
1557
|
+
"properties": {
|
1558
|
+
"value": {
|
1559
|
+
"encrypt": {
|
1560
|
+
"keyId": [
|
1561
|
+
{
|
1562
|
+
"$binary": {
|
1563
|
+
"base64": "LOCALAAAAAAAAAAAAAAAAA==",
|
1564
|
+
"subType": "04"
|
1565
|
+
}
|
1566
|
+
}
|
1567
|
+
],
|
1568
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic",
|
1569
|
+
"bsonType": "regex"
|
1570
|
+
}
|
1571
|
+
}
|
1572
|
+
}
|
1573
|
+
},
|
1574
|
+
"local_regex_det_explicit_id": {
|
1575
|
+
"bsonType": "object",
|
1576
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1577
|
+
},
|
1578
|
+
"local_regex_det_explicit_altname": {
|
1579
|
+
"bsonType": "object",
|
1580
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1581
|
+
},
|
1582
|
+
"local_dbPointer_rand_auto_id": {
|
1583
|
+
"bsonType": "object",
|
1584
|
+
"properties": {
|
1585
|
+
"value": {
|
1586
|
+
"encrypt": {
|
1587
|
+
"keyId": [
|
1588
|
+
{
|
1589
|
+
"$binary": {
|
1590
|
+
"base64": "LOCALAAAAAAAAAAAAAAAAA==",
|
1591
|
+
"subType": "04"
|
1592
|
+
}
|
1593
|
+
}
|
1594
|
+
],
|
1595
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1596
|
+
"bsonType": "dbPointer"
|
1597
|
+
}
|
1598
|
+
}
|
1599
|
+
}
|
1600
|
+
},
|
1601
|
+
"local_dbPointer_rand_auto_altname": {
|
1602
|
+
"bsonType": "object",
|
1603
|
+
"properties": {
|
1604
|
+
"value": {
|
1605
|
+
"encrypt": {
|
1606
|
+
"keyId": "/altname_local",
|
1607
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1608
|
+
"bsonType": "dbPointer"
|
1609
|
+
}
|
1610
|
+
}
|
1611
|
+
}
|
1612
|
+
},
|
1613
|
+
"local_dbPointer_rand_explicit_id": {
|
1614
|
+
"bsonType": "object",
|
1615
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1616
|
+
},
|
1617
|
+
"local_dbPointer_rand_explicit_altname": {
|
1618
|
+
"bsonType": "object",
|
1619
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1620
|
+
},
|
1621
|
+
"local_dbPointer_det_auto_id": {
|
1622
|
+
"bsonType": "object",
|
1623
|
+
"properties": {
|
1624
|
+
"value": {
|
1625
|
+
"encrypt": {
|
1626
|
+
"keyId": [
|
1627
|
+
{
|
1628
|
+
"$binary": {
|
1629
|
+
"base64": "LOCALAAAAAAAAAAAAAAAAA==",
|
1630
|
+
"subType": "04"
|
1631
|
+
}
|
1632
|
+
}
|
1633
|
+
],
|
1634
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic",
|
1635
|
+
"bsonType": "dbPointer"
|
1636
|
+
}
|
1637
|
+
}
|
1638
|
+
}
|
1639
|
+
},
|
1640
|
+
"local_dbPointer_det_explicit_id": {
|
1641
|
+
"bsonType": "object",
|
1642
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1643
|
+
},
|
1644
|
+
"local_dbPointer_det_explicit_altname": {
|
1645
|
+
"bsonType": "object",
|
1646
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1647
|
+
},
|
1648
|
+
"local_javascript_rand_auto_id": {
|
1649
|
+
"bsonType": "object",
|
1650
|
+
"properties": {
|
1651
|
+
"value": {
|
1652
|
+
"encrypt": {
|
1653
|
+
"keyId": [
|
1654
|
+
{
|
1655
|
+
"$binary": {
|
1656
|
+
"base64": "LOCALAAAAAAAAAAAAAAAAA==",
|
1657
|
+
"subType": "04"
|
1658
|
+
}
|
1659
|
+
}
|
1660
|
+
],
|
1661
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1662
|
+
"bsonType": "javascript"
|
1663
|
+
}
|
1664
|
+
}
|
1665
|
+
}
|
1666
|
+
},
|
1667
|
+
"local_javascript_rand_auto_altname": {
|
1668
|
+
"bsonType": "object",
|
1669
|
+
"properties": {
|
1670
|
+
"value": {
|
1671
|
+
"encrypt": {
|
1672
|
+
"keyId": "/altname_local",
|
1673
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1674
|
+
"bsonType": "javascript"
|
1675
|
+
}
|
1676
|
+
}
|
1677
|
+
}
|
1678
|
+
},
|
1679
|
+
"local_javascript_rand_explicit_id": {
|
1680
|
+
"bsonType": "object",
|
1681
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1682
|
+
},
|
1683
|
+
"local_javascript_rand_explicit_altname": {
|
1684
|
+
"bsonType": "object",
|
1685
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1686
|
+
},
|
1687
|
+
"local_javascript_det_auto_id": {
|
1688
|
+
"bsonType": "object",
|
1689
|
+
"properties": {
|
1690
|
+
"value": {
|
1691
|
+
"encrypt": {
|
1692
|
+
"keyId": [
|
1693
|
+
{
|
1694
|
+
"$binary": {
|
1695
|
+
"base64": "LOCALAAAAAAAAAAAAAAAAA==",
|
1696
|
+
"subType": "04"
|
1697
|
+
}
|
1698
|
+
}
|
1699
|
+
],
|
1700
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic",
|
1701
|
+
"bsonType": "javascript"
|
1702
|
+
}
|
1703
|
+
}
|
1704
|
+
}
|
1705
|
+
},
|
1706
|
+
"local_javascript_det_explicit_id": {
|
1707
|
+
"bsonType": "object",
|
1708
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1709
|
+
},
|
1710
|
+
"local_javascript_det_explicit_altname": {
|
1711
|
+
"bsonType": "object",
|
1712
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1713
|
+
},
|
1714
|
+
"local_symbol_rand_auto_id": {
|
1715
|
+
"bsonType": "object",
|
1716
|
+
"properties": {
|
1717
|
+
"value": {
|
1718
|
+
"encrypt": {
|
1719
|
+
"keyId": [
|
1720
|
+
{
|
1721
|
+
"$binary": {
|
1722
|
+
"base64": "LOCALAAAAAAAAAAAAAAAAA==",
|
1723
|
+
"subType": "04"
|
1724
|
+
}
|
1725
|
+
}
|
1726
|
+
],
|
1727
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1728
|
+
"bsonType": "symbol"
|
1729
|
+
}
|
1730
|
+
}
|
1731
|
+
}
|
1732
|
+
},
|
1733
|
+
"local_symbol_rand_auto_altname": {
|
1734
|
+
"bsonType": "object",
|
1735
|
+
"properties": {
|
1736
|
+
"value": {
|
1737
|
+
"encrypt": {
|
1738
|
+
"keyId": "/altname_local",
|
1739
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1740
|
+
"bsonType": "symbol"
|
1741
|
+
}
|
1742
|
+
}
|
1743
|
+
}
|
1744
|
+
},
|
1745
|
+
"local_symbol_rand_explicit_id": {
|
1746
|
+
"bsonType": "object",
|
1747
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1748
|
+
},
|
1749
|
+
"local_symbol_rand_explicit_altname": {
|
1750
|
+
"bsonType": "object",
|
1751
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1752
|
+
},
|
1753
|
+
"local_symbol_det_auto_id": {
|
1754
|
+
"bsonType": "object",
|
1755
|
+
"properties": {
|
1756
|
+
"value": {
|
1757
|
+
"encrypt": {
|
1758
|
+
"keyId": [
|
1759
|
+
{
|
1760
|
+
"$binary": {
|
1761
|
+
"base64": "LOCALAAAAAAAAAAAAAAAAA==",
|
1762
|
+
"subType": "04"
|
1763
|
+
}
|
1764
|
+
}
|
1765
|
+
],
|
1766
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic",
|
1767
|
+
"bsonType": "symbol"
|
1768
|
+
}
|
1769
|
+
}
|
1770
|
+
}
|
1771
|
+
},
|
1772
|
+
"local_symbol_det_explicit_id": {
|
1773
|
+
"bsonType": "object",
|
1774
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1775
|
+
},
|
1776
|
+
"local_symbol_det_explicit_altname": {
|
1777
|
+
"bsonType": "object",
|
1778
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1779
|
+
},
|
1780
|
+
"local_javascriptWithScope_rand_auto_id": {
|
1781
|
+
"bsonType": "object",
|
1782
|
+
"properties": {
|
1783
|
+
"value": {
|
1784
|
+
"encrypt": {
|
1785
|
+
"keyId": [
|
1786
|
+
{
|
1787
|
+
"$binary": {
|
1788
|
+
"base64": "LOCALAAAAAAAAAAAAAAAAA==",
|
1789
|
+
"subType": "04"
|
1790
|
+
}
|
1791
|
+
}
|
1792
|
+
],
|
1793
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1794
|
+
"bsonType": "javascriptWithScope"
|
1795
|
+
}
|
1796
|
+
}
|
1797
|
+
}
|
1798
|
+
},
|
1799
|
+
"local_javascriptWithScope_rand_auto_altname": {
|
1800
|
+
"bsonType": "object",
|
1801
|
+
"properties": {
|
1802
|
+
"value": {
|
1803
|
+
"encrypt": {
|
1804
|
+
"keyId": "/altname_local",
|
1805
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1806
|
+
"bsonType": "javascriptWithScope"
|
1807
|
+
}
|
1808
|
+
}
|
1809
|
+
}
|
1810
|
+
},
|
1811
|
+
"local_javascriptWithScope_rand_explicit_id": {
|
1812
|
+
"bsonType": "object",
|
1813
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1814
|
+
},
|
1815
|
+
"local_javascriptWithScope_rand_explicit_altname": {
|
1816
|
+
"bsonType": "object",
|
1817
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1818
|
+
},
|
1819
|
+
"local_int_rand_auto_id": {
|
1820
|
+
"bsonType": "object",
|
1821
|
+
"properties": {
|
1822
|
+
"value": {
|
1823
|
+
"encrypt": {
|
1824
|
+
"keyId": [
|
1825
|
+
{
|
1826
|
+
"$binary": {
|
1827
|
+
"base64": "LOCALAAAAAAAAAAAAAAAAA==",
|
1828
|
+
"subType": "04"
|
1829
|
+
}
|
1830
|
+
}
|
1831
|
+
],
|
1832
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1833
|
+
"bsonType": "int"
|
1834
|
+
}
|
1835
|
+
}
|
1836
|
+
}
|
1837
|
+
},
|
1838
|
+
"local_int_rand_auto_altname": {
|
1839
|
+
"bsonType": "object",
|
1840
|
+
"properties": {
|
1841
|
+
"value": {
|
1842
|
+
"encrypt": {
|
1843
|
+
"keyId": "/altname_local",
|
1844
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1845
|
+
"bsonType": "int"
|
1846
|
+
}
|
1847
|
+
}
|
1848
|
+
}
|
1849
|
+
},
|
1850
|
+
"local_int_rand_explicit_id": {
|
1851
|
+
"bsonType": "object",
|
1852
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1853
|
+
},
|
1854
|
+
"local_int_rand_explicit_altname": {
|
1855
|
+
"bsonType": "object",
|
1856
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1857
|
+
},
|
1858
|
+
"local_int_det_auto_id": {
|
1859
|
+
"bsonType": "object",
|
1860
|
+
"properties": {
|
1861
|
+
"value": {
|
1862
|
+
"encrypt": {
|
1863
|
+
"keyId": [
|
1864
|
+
{
|
1865
|
+
"$binary": {
|
1866
|
+
"base64": "LOCALAAAAAAAAAAAAAAAAA==",
|
1867
|
+
"subType": "04"
|
1868
|
+
}
|
1869
|
+
}
|
1870
|
+
],
|
1871
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic",
|
1872
|
+
"bsonType": "int"
|
1873
|
+
}
|
1874
|
+
}
|
1875
|
+
}
|
1876
|
+
},
|
1877
|
+
"local_int_det_explicit_id": {
|
1878
|
+
"bsonType": "object",
|
1879
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1880
|
+
},
|
1881
|
+
"local_int_det_explicit_altname": {
|
1882
|
+
"bsonType": "object",
|
1883
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1884
|
+
},
|
1885
|
+
"local_timestamp_rand_auto_id": {
|
1886
|
+
"bsonType": "object",
|
1887
|
+
"properties": {
|
1888
|
+
"value": {
|
1889
|
+
"encrypt": {
|
1890
|
+
"keyId": [
|
1891
|
+
{
|
1892
|
+
"$binary": {
|
1893
|
+
"base64": "LOCALAAAAAAAAAAAAAAAAA==",
|
1894
|
+
"subType": "04"
|
1895
|
+
}
|
1896
|
+
}
|
1897
|
+
],
|
1898
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1899
|
+
"bsonType": "timestamp"
|
1900
|
+
}
|
1901
|
+
}
|
1902
|
+
}
|
1903
|
+
},
|
1904
|
+
"local_timestamp_rand_auto_altname": {
|
1905
|
+
"bsonType": "object",
|
1906
|
+
"properties": {
|
1907
|
+
"value": {
|
1908
|
+
"encrypt": {
|
1909
|
+
"keyId": "/altname_local",
|
1910
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1911
|
+
"bsonType": "timestamp"
|
1912
|
+
}
|
1913
|
+
}
|
1914
|
+
}
|
1915
|
+
},
|
1916
|
+
"local_timestamp_rand_explicit_id": {
|
1917
|
+
"bsonType": "object",
|
1918
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1919
|
+
},
|
1920
|
+
"local_timestamp_rand_explicit_altname": {
|
1921
|
+
"bsonType": "object",
|
1922
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1923
|
+
},
|
1924
|
+
"local_timestamp_det_auto_id": {
|
1925
|
+
"bsonType": "object",
|
1926
|
+
"properties": {
|
1927
|
+
"value": {
|
1928
|
+
"encrypt": {
|
1929
|
+
"keyId": [
|
1930
|
+
{
|
1931
|
+
"$binary": {
|
1932
|
+
"base64": "LOCALAAAAAAAAAAAAAAAAA==",
|
1933
|
+
"subType": "04"
|
1934
|
+
}
|
1935
|
+
}
|
1936
|
+
],
|
1937
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic",
|
1938
|
+
"bsonType": "timestamp"
|
1939
|
+
}
|
1940
|
+
}
|
1941
|
+
}
|
1942
|
+
},
|
1943
|
+
"local_timestamp_det_explicit_id": {
|
1944
|
+
"bsonType": "object",
|
1945
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1946
|
+
},
|
1947
|
+
"local_timestamp_det_explicit_altname": {
|
1948
|
+
"bsonType": "object",
|
1949
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1950
|
+
},
|
1951
|
+
"local_long_rand_auto_id": {
|
1952
|
+
"bsonType": "object",
|
1953
|
+
"properties": {
|
1954
|
+
"value": {
|
1955
|
+
"encrypt": {
|
1956
|
+
"keyId": [
|
1957
|
+
{
|
1958
|
+
"$binary": {
|
1959
|
+
"base64": "LOCALAAAAAAAAAAAAAAAAA==",
|
1960
|
+
"subType": "04"
|
1961
|
+
}
|
1962
|
+
}
|
1963
|
+
],
|
1964
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1965
|
+
"bsonType": "long"
|
1966
|
+
}
|
1967
|
+
}
|
1968
|
+
}
|
1969
|
+
},
|
1970
|
+
"local_long_rand_auto_altname": {
|
1971
|
+
"bsonType": "object",
|
1972
|
+
"properties": {
|
1973
|
+
"value": {
|
1974
|
+
"encrypt": {
|
1975
|
+
"keyId": "/altname_local",
|
1976
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
1977
|
+
"bsonType": "long"
|
1978
|
+
}
|
1979
|
+
}
|
1980
|
+
}
|
1981
|
+
},
|
1982
|
+
"local_long_rand_explicit_id": {
|
1983
|
+
"bsonType": "object",
|
1984
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1985
|
+
},
|
1986
|
+
"local_long_rand_explicit_altname": {
|
1987
|
+
"bsonType": "object",
|
1988
|
+
"properties": { "value": { "bsonType": "binData" } }
|
1989
|
+
},
|
1990
|
+
"local_long_det_auto_id": {
|
1991
|
+
"bsonType": "object",
|
1992
|
+
"properties": {
|
1993
|
+
"value": {
|
1994
|
+
"encrypt": {
|
1995
|
+
"keyId": [
|
1996
|
+
{
|
1997
|
+
"$binary": {
|
1998
|
+
"base64": "LOCALAAAAAAAAAAAAAAAAA==",
|
1999
|
+
"subType": "04"
|
2000
|
+
}
|
2001
|
+
}
|
2002
|
+
],
|
2003
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic",
|
2004
|
+
"bsonType": "long"
|
2005
|
+
}
|
2006
|
+
}
|
2007
|
+
}
|
2008
|
+
},
|
2009
|
+
"local_long_det_explicit_id": {
|
2010
|
+
"bsonType": "object",
|
2011
|
+
"properties": { "value": { "bsonType": "binData" } }
|
2012
|
+
},
|
2013
|
+
"local_long_det_explicit_altname": {
|
2014
|
+
"bsonType": "object",
|
2015
|
+
"properties": { "value": { "bsonType": "binData" } }
|
2016
|
+
},
|
2017
|
+
"local_decimal_rand_auto_id": {
|
2018
|
+
"bsonType": "object",
|
2019
|
+
"properties": {
|
2020
|
+
"value": {
|
2021
|
+
"encrypt": {
|
2022
|
+
"keyId": [
|
2023
|
+
{
|
2024
|
+
"$binary": {
|
2025
|
+
"base64": "LOCALAAAAAAAAAAAAAAAAA==",
|
2026
|
+
"subType": "04"
|
2027
|
+
}
|
2028
|
+
}
|
2029
|
+
],
|
2030
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
2031
|
+
"bsonType": "decimal"
|
2032
|
+
}
|
2033
|
+
}
|
2034
|
+
}
|
2035
|
+
},
|
2036
|
+
"local_decimal_rand_auto_altname": {
|
2037
|
+
"bsonType": "object",
|
2038
|
+
"properties": {
|
2039
|
+
"value": {
|
2040
|
+
"encrypt": {
|
2041
|
+
"keyId": "/altname_local",
|
2042
|
+
"algorithm": "AEAD_AES_256_CBC_HMAC_SHA_512-Random",
|
2043
|
+
"bsonType": "decimal"
|
2044
|
+
}
|
2045
|
+
}
|
2046
|
+
}
|
2047
|
+
},
|
2048
|
+
"local_decimal_rand_explicit_id": {
|
2049
|
+
"bsonType": "object",
|
2050
|
+
"properties": { "value": { "bsonType": "binData" } }
|
2051
|
+
},
|
2052
|
+
"local_decimal_rand_explicit_altname": {
|
2053
|
+
"bsonType": "object",
|
2054
|
+
"properties": { "value": { "bsonType": "binData" } }
|
2055
|
+
}
|
2056
|
+
}
|
2057
|
+
}
|