summaryrefslogtreecommitdiff
path: root/src/mongo/client/sasl_aws_client_options.idl
blob: bac90cc569cf86e011ae25e4211220b066c5c022 (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
# Copyright (C) 2019-present MongoDB, Inc.

global:
    cpp_namespace: "mongo::awsIam"
    configs:
        section: 'AWS IAM Options'
        source: [ cli ]
    cpp_includes:
        - mongo/client/sasl_aws_client_options.h

configs:
    awsIamSessionToken:
        description: "AWS Session Token for temporary credentials"
        arg_vartype: String
        cpp_varname: saslAwsClientGlobalParams.awsSessionToken

server_parameters:
    awsEC2InstanceMetadataUrl:
        description: "Test parameter to override the URL for AWS EC2 Instance Metadata"
        set_at: startup
        cpp_varname: saslAwsClientGlobalParams.awsEC2InstanceMetadataUrl
        default: "http://169.254.169.254"

    awsECSInstanceMetadataUrl:
        description: "Test parameter to override the URL for AWS ECS Instance Metadata"
        set_at: startup
        cpp_varname: saslAwsClientGlobalParams.awsECSInstanceMetadataUrl
        default: "http://169.254.170.2"