...

Text file src/go.mongodb.org/mongo-driver/testdata/unified-test-format/valid-pass/kmsProviders-mixed_kms_credential_fields.yml

Documentation: go.mongodb.org/mongo-driver/testdata/unified-test-format/valid-pass

     1# kmsProviders should support both explicit and placeholder credential fields.
     2description: kmsProviders-mixed_kms_credential_fields
     3
     4schemaVersion: "1.8"
     5
     6runOnRequirements:
     7  - csfle: true
     8
     9createEntities:
    10  - client:
    11      id: &client0 client0
    12  - clientEncryption:
    13      id: &clientEncryption0 clientEncryption0
    14      clientEncryptionOpts:
    15        keyVaultClient: *client0
    16        keyVaultNamespace: keyvault.datakeys
    17        kmsProviders:
    18          aws: { accessKeyId: "accessKeyId", secretAccessKey: { $$placeholder: 1 } }
    19          azure: { tenantId: "tenantId", clientId: { $$placeholder: 1 }, clientSecret: { $$placeholder: 1 } }
    20          gcp: { email: "email", privateKey: { $$placeholder: 1 } }
    21
    22tests:
    23  - description: ""
    24    operations: []

View as plain text