...

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

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

     1# kmsProviders should support explicit credentials.
     2description: kmsProviders-explicit_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: "accessKeyId", secretAccessKey: "secretAccessKey" }
    19          azure: { tenantId: "tenantId", clientId: "clientId", clientSecret: "clientSecret" }
    20          gcp: { email: "email", privateKey: "cHJpdmF0ZUtleQo=" }
    21          kmip: { endpoint: "endpoint" }
    22          local: { key: "a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5" }
    23
    24tests:
    25  - description: ""
    26    operations: []

View as plain text