Sha256: 76c29026c09bc06bafad77f019004531ebdaae81be04d9d357ca6cefcb39606f

Contents?: true

Size: 1.42 KB

Versions: 5

Compression:

Stored size: 1.42 KB

Contents

runOn:
  - maxServerVersion: "4.0"
database_name: &database_name "default"
collection_name: &collection_name "default"

data: []
key_vault_data: [{'status': 1, '_id': {'$binary': {'base64': 'AAAAAAAAAAAAAAAAAAAAAA==', 'subType': '04'}}, 'masterKey': {'provider': 'aws', 'key': 'arn:aws:kms:us-east-1:579766882180:key/89fcc2c4-08b0-4bd9-9f25-e30687b580d0', 'region': 'us-east-1'}, 'updateDate': {'$date': {'$numberLong': '1552949630483'}}, 'keyMaterial': {'$binary': {'base64': 'AQICAHhQNmWG2CzOm1dq3kWLM+iDUZhEqnhJwH9wZVpuZ94A8gEqnsxXlR51T5EbEVezUqqKAAAAwjCBvwYJKoZIhvcNAQcGoIGxMIGuAgEAMIGoBgkqhkiG9w0BBwEwHgYJYIZIAWUDBAEuMBEEDHa4jo6yp0Z18KgbUgIBEIB74sKxWtV8/YHje5lv5THTl0HIbhSwM6EqRlmBiFFatmEWaeMk4tO4xBX65eq670I5TWPSLMzpp8ncGHMmvHqRajNBnmFtbYxN3E3/WjxmdbOOe+OXpnGJPcGsftc7cB2shRfA4lICPnE26+oVNXT6p0Lo20nY5XC7jyCO', 'subType': '00'}}, 'creationDate': {'$date': {'$numberLong': '1552949630483'}}, 'keyAltNames': ['altname', 'another_altname']}]

tests:
  - description: "operation fails with maxWireVersion < 8"
    clientOptions:
      autoEncryptOpts:
        kmsProviders:
          aws: {} # Credentials filled in from environment.
        extraOptions:
          mongocryptdBypassSpawn: true # mongocryptd probably won't be on the path
    operations:
      - name: insertOne
        arguments:
          document: { encrypted_string: "string0" }
        result:
          errorContains: "Auto-encryption requires a minimum MongoDB version of 4.2"

Version data entries

5 entries across 5 versions & 1 rubygems

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