...

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

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

     1{
     2  "description": "kmsProviders-explicit_kms_credentials",
     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": "secretAccessKey"
    25            },
    26            "azure": {
    27              "tenantId": "tenantId",
    28              "clientId": "clientId",
    29              "clientSecret": "clientSecret"
    30            },
    31            "gcp": {
    32              "email": "email",
    33              "privateKey": "cHJpdmF0ZUtleQo="
    34            },
    35            "kmip": {
    36              "endpoint": "endpoint"
    37            },
    38            "local": {
    39              "key": "a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5a2V5"
    40            }
    41          }
    42        }
    43      }
    44    }
    45  ],
    46  "tests": [
    47    {
    48      "description": "",
    49      "operations": []
    50    }
    51  ]
    52}

View as plain text