File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -987,6 +987,21 @@ those credentials will be used by default if AWS auth environment variables are
987987application. Alternatively, you can create an AWS profile specifically for your MongoDB credentials and set the
988988`AWS_PROFILE` environment variable to that profile name."
989989
990+ ##### Custom Credential Providers
991+
992+ Drivers that choose you use the AWS SDK to fetch credentials MAY also allow users to provide a custom credential provider
993+ as an option to the `MongoClient`. The interface for the option provided depends on the individual language SDK and
994+ drivers MUST consult AWS SDK documentation to determine that format when implementing. The name of the option MUST be
995+ `awsCredentialProvider` or similar according to the language' s idomatic naming conventions.
996+
997+ Drivers that implement this MAY choose to implement the following scenarios when applicable in their labguage' s SDK:
998+
999+ 1. The default SDK credential provider.
1000+ 2. A custom credential provider chain.
1001+ 3. A single credential provider of any available SDK options provided by the SDK.
1002+
1003+ ##### Credential Fetching Order
1004+
9901005The order in which Drivers MUST search for credentials is:
9911006
99210071. The URI
You can’t perform that action at this time.
0 commit comments