Sha256: ff165aea79d402ca0137a4ad57fb6a2327852838a63425f942379623cc128384

Contents?: true

Size: 1.18 KB

Versions: 5

Compression:

Stored size: 1.18 KB

Contents

runOn:
  - minServerVersion: "6.0.0"
    # FLE 2 Encrypted collections are not supported on standalone.
    topology: [ "replicaset", "sharded" ]
database_name: &database_name "default"
collection_name: &collection_name "default"
data: []
key_vault_data: []
encrypted_fields: {
  "fields": []
}
tests:
  - description: "insert with no encryption succeeds"
    clientOptions:
      autoEncryptOpts:
        kmsProviders:
          local: {'key': {'$binary': {'base64': 'Mng0NCt4ZHVUYUJCa1kxNkVyNUR1QURhZ2h2UzR2d2RrZzh0cFBwM3R6NmdWMDFBMUN3YkQ5aXRRMkhGRGdQV09wOGVNYUMxT2k3NjZKelhaQmRCZGJkTXVyZG9uSjFk', 'subType': '00'}}}
    operations:
      - name: insertOne
        arguments:
          document: &doc0 {
            _id: 1,
            foo: "bar"
          }
    expectations:
      - command_started_event:
          command:
            listCollections: 1
            filter:
              name: *collection_name
          command_name: listCollections
      - command_started_event:
          command:
            insert: *collection_name
            documents:
              - *doc0
            ordered: true
          command_name: insert
    outcome:
      collection:
        data:
          - *doc0

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mongo-2.18.3 spec/spec_tests/data/client_side_encryption/fle2-NoEncryption.yml
mongo-2.18.2 spec/spec_tests/data/client_side_encryption/fle2-NoEncryption.yml
mongo-2.18.1 spec/spec_tests/data/client_side_encryption/fle2-NoEncryption.yml
mongo-2.18.0 spec/spec_tests/data/client_side_encryption/fle2-NoEncryption.yml
mongo-2.18.0.beta1 spec/spec_tests/data/client_side_encryption/fle2-NoEncryption.yml