...

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

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

     1# kmsProviders should support loading credentials at runtime.
     2description: kmsProviders-placeholder_kms_credentials
     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: { $$placeholder: 1 }, secretAccessKey: { $$placeholder: 1 } }
    19          azure: { tenantId: { $$placeholder: 1 }, clientId: { $$placeholder: 1 }, clientSecret: { $$placeholder: 1 } }
    20          gcp: { email: { $$placeholder: 1 }, privateKey: { $$placeholder: 1 } }
    21          kmip: { endpoint: { $$placeholder: 1 } }
    22          local: { key: { $$placeholder: 1 } }
    23
    24tests:
    25  - description: ""
    26    operations: []

View as plain text