...

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

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

     1{
     2  "description": "kmsProviders-placeholder_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": {
    24                "$$placeholder": 1
    25              },
    26              "secretAccessKey": {
    27                "$$placeholder": 1
    28              }
    29            },
    30            "azure": {
    31              "tenantId": {
    32                "$$placeholder": 1
    33              },
    34              "clientId": {
    35                "$$placeholder": 1
    36              },
    37              "clientSecret": {
    38                "$$placeholder": 1
    39              }
    40            },
    41            "gcp": {
    42              "email": {
    43                "$$placeholder": 1
    44              },
    45              "privateKey": {
    46                "$$placeholder": 1
    47              }
    48            },
    49            "kmip": {
    50              "endpoint": {
    51                "$$placeholder": 1
    52              }
    53            },
    54            "local": {
    55              "key": {
    56                "$$placeholder": 1
    57              }
    58            }
    59          }
    60        }
    61      }
    62    }
    63  ],
    64  "tests": [
    65    {
    66      "description": "",
    67      "operations": []
    68    }
    69  ]
    70}

View as plain text