Skip to content

Conversation

@alexchengpeng
Copy link
Contributor

This pull request adds all relevant Python scripts and a README for setting up MongoDB Queryable Encryption in Atlas using Azure Key Vault. Includes scripts for encrypted collection creation, document insertion, DEK rewrapping after CMK rotation, environment configuration, and cross-KMS support. The README provides step-by-step instructions and troubleshooting tips.

@iammfh iammfh self-assigned this Oct 31, 2025
...
```

See `.env` in repo for a full example including other KMS providers.
Copy link
Collaborator

Choose a reason for hiding this comment

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

As a best practice, we don't add .env files to repo so I would remove this.

## File Reference

- `requirements.txt` – Python package requirements
- `.env` – Environment variables for all supported KMS providers
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would remove .env here as well as this file won't be in the repository.

@iammfh iammfh merged commit bdc458f into mongodb:main Nov 4, 2025
1 check 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