...

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

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

     1{
     2  "description": "kmsProviders-mixed_kms_credential_fields",
     3  "schemaVersion": "1.8",
     4  "runOnRequirements": [
     5    {
     6      "csfle": true
     7    }
     8  ],
     9  "createEntities": [
    10    {
    11      "client": {
    12        "id": "client0"
    13      }
    14    },
    15    {
    16      "clientEncryption": {
    17        "id": "clientEncryption0",
    18        "clientEncryptionOpts": {
    19          "keyVaultClient": "client0",
    20          "keyVaultNamespace": "keyvault.datakeys",
    21          "kmsProviders": {
    22            "aws": {
    23              "accessKeyId": "accessKeyId",
    24              "secretAccessKey": {
    25                "$$placeholder": 1
    26              }
    27            },
    28            "azure": {
    29              "tenantId": "tenantId",
    30              "clientId": {
    31                "$$placeholder": 1
    32              },
    33              "clientSecret": {
    34                "$$placeholder": 1
    35              }
    36            },
    37            "gcp": {
    38              "email": "email",
    39              "privateKey": {
    40                "$$placeholder": 1
    41              }
    42            }
    43          }
    44        }
    45      }
    46    }
    47  ],
    48  "tests": [
    49    {
    50      "description": "",
    51      "operations": []
    52    }
    53  ]
    54}

View as plain text