Skip to content
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

feat(NODE-5077): automatic Azure kms credential refresh #3599

Merged
merged 17 commits into from Mar 21, 2023

Conversation

baileympearson
Copy link
Contributor

@baileympearson baileympearson commented Mar 14, 2023

Description

What is changing?

Spec tests for Azure KMS on-demand credential refresh are added.

There are two sets of spec tests:

  • Integration tests, that spin up an Azure vm and confirm that credentials can be refreshed
  • Mock server tests, which test the behavior of the http client used in mongodb-client-encryption.

The integration tests run in their own build variant, since they require special setup and teardown.
The mock server tests run during all normal driver CI runs where FLE tests are run. To enable this, a new task was added that launches a mock Azure IDMS server (from drivers evergreen tools).

Is there new documentation needed for these changes?

No.

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 chore: add files feat(NODE-5077): automatic Azure kms credential refresh Mar 14, 2023
@baileympearson baileympearson force-pushed the NODE-5077-azure-kms-providers branch 2 times, most recently from c7b9729 to 06c4263 Compare March 16, 2023 12:45
@baileympearson baileympearson marked this pull request as ready for review March 16, 2023 13:51
@nbbeeken nbbeeken self-requested a review March 16, 2023 18:44
@nbbeeken nbbeeken self-assigned this Mar 16, 2023
@nbbeeken nbbeeken added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Mar 16, 2023
package.json Outdated Show resolved Hide resolved
@nbbeeken nbbeeken added Team Review Needs review from team and removed Primary Review In Review with primary reviewer, not yet ready for team's eyes labels Mar 20, 2023
@nbbeeken nbbeeken merged commit 8e87e5c into main Mar 21, 2023
@nbbeeken nbbeeken deleted the NODE-5077-azure-kms-providers branch March 21, 2023 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team Review Needs review from team
Projects
None yet
2 participants