summaryrefslogtreecommitdiff
path: root/src/mongo/shell/fle_shell_options.idl
blob: 64578aaa69b1dda4941965855459be6587d400c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright (C) 2019-present MongoDB, Inc.

global:
    cpp_namespace: "mongo"
    configs:
        section: 'FLE AWS Options'
        source: [ cli ]
    cpp_includes:
        - mongo/shell/encrypted_shell_options.h

configs:
    "awsAccessKeyId":
        description: "AWS Access Key for FLE Amazon KMS"
        arg_vartype: String
        cpp_varname: encryptedShellGlobalParams.awsAccessKeyId
        requires: [ "awsSecretAccessKey", "keyVaultNamespace" ]
    "awsSecretAccessKey":
        description: "AWS Secret Key for FLE Amazon KMS"
        arg_vartype: String
        cpp_varname: encryptedShellGlobalParams.awsSecretAccessKey
        redact: true
        requires: [ "awsAccessKeyId", "keyVaultNamespace" ]
    "awsSessionToken":
        description: "Optional AWS Session Token ID"
        arg_vartype: String
        cpp_varname: encryptedShellGlobalParams.awsSessionToken
        requires: [ "awsAccessKeyId", "awsSecretAccessKey", "keyVaultNamespace" ]
    "keyVaultNamespace":
        description: "database.collection to store encrypted FLE parameters"
        arg_vartype: String
        cpp_varname: encryptedShellGlobalParams.keyVaultNamespace
        requires: [ "awsAccessKeyId", "awsSecretAccessKey" ]
    "kmsURL":
        description: "Test parameter to override the URL for KMS"
        arg_vartype: String
        cpp_varname: encryptedShellGlobalParams.awsKmsURL
        requires: [ "awsAccessKeyId", "awsSecretAccessKey", "keyVaultNamespace" ]