-
Notifications
You must be signed in to change notification settings - Fork 246
DRIVERS-3207: Custom AWS credential providers execute earlier #1838
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
174d5cb
to
b2ae9b3
Compare
I have added a prose test for FLE in case 26. Case 15 I don't believe is relevant as it pertains to automatic credential fetching, which means nothing is provided. Even with the changes in this PR the order on automatic credential fetching is the same. |
Added link. |
Drivers MAY allow the user to specify a custom credential provider object or function. See | ||
[Custom Credential Providers](#custom-credential-providers) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would this be similar to
specifications/source/auth/auth.md
Lines 1298 to 1303 in 3dc84d1
- OIDC_CALLBACK | |
An [OIDC Callback](#oidc-callback) that returns OIDC credentials. Drivers MAY allow the user to specify an | |
[OIDC Callback](#oidc-callback) using a `MongoClient` configuration instead of a mechanism property, depending on | |
what is idiomatic for the driver. Drivers MUST NOT support both the `OIDC_CALLBACK` mechanism property and a | |
`MongoClient` configuration. |
Updates the AWS auth spec to require drivers that implement custom AWS credential providers to use the custom provider before any other method.
Updates test wording to include the extra scenario for testing a custom provider when explicit credentials are also provided.
Node implementation: mongodb/node-mongodb-native#4656
Please complete the following before merging:
clusters).