Skip to content

refactor(NODE-6040): extract aws temporary credential acquisition logic into a standalone module #4050

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

Merged
merged 7 commits into from
Mar 25, 2024

Conversation

baileympearson
Copy link
Contributor

@baileympearson baileympearson commented Mar 20, 2024

Description

What is changing?

In order to share AWS credential fetching logic with CSFLE, (NODE-5917), the AWS temporary credential fetching logic has been extracted from the MongoDBAWS auth provider into a new AWSTemporaryCredentialProvider abstraction. This is purely a refactor, and all existing tests are passing.

Is there new documentation needed for these changes?

What is the motivation for this change?

Double check the following

  • Ran npm run check:lint script
  • Self-review completed using the steps outlined here
  • PR title follows the correct format: type(NODE-xxxx)[!]: description
    • Example: feat(NODE-1234)!: rewriting everything in coffeescript
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket

@baileympearson baileympearson changed the title remove aws temporary credential code from aws auth provider refactor(NODE-6040): extract aws temporary credential acquisition logic into a standalone module Mar 21, 2024
@baileympearson baileympearson marked this pull request as ready for review March 21, 2024 20:45
@nbbeeken nbbeeken added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Mar 22, 2024
@nbbeeken nbbeeken self-assigned this Mar 22, 2024
@baileympearson baileympearson requested a review from nbbeeken March 22, 2024 18:19
Co-authored-by: Neal Beeken <[email protected]>
@nbbeeken nbbeeken merged commit 918fe69 into mongodb:main Mar 25, 2024
aditi-khare-mongoDB pushed a commit that referenced this pull request Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Primary Review In Review with primary reviewer, not yet ready for team's eyes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants