Skip to content

Fix In-Use Encryption examples #2457

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 4 commits into from
Aug 5, 2025
Merged

Conversation

kevinAlbs
Copy link
Contributor

This PR is intended to make small fixes and improvements to the In-Use Encryption examples:

  • Remove incorrect collection names in the Automatic Queryable Encryption:

    pymongo.errors.EncryptionError: Encrypted State Collection name should follow enxcol_.<collection>.esc naming pattern
    

    DRIVERS-2565 describes the server change that required the metadata collection names to fit this pattern. libmongocrypt applies the collection names, so it is not necessary to specify. This PR removes the names from the examples.

  • Remove incorrect tuple wrapping in the Azure CSFLE on-demand credentials:

    ValueError: kms_providers must be a dict
    
  • Remove unused imports.

@kevinAlbs kevinAlbs requested a review from a team as a code owner August 5, 2025 00:34
Copy link
Member

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@kevinAlbs kevinAlbs merged commit d11cf20 into mongodb:master Aug 5, 2025
79 of 81 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants