Skip to content

PYTHON-2371 Add Azure and GCP support for CSFLE #506

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

Conversation

prashantmital
Copy link
Contributor

@prashantmital
Copy link
Contributor Author

Ready for another look @ShaneHarvey

@prashantmital prashantmital changed the title PYTHON-2371 Add support for Azure and GCP KMS PYTHON-2371 Add Azure and GCP support for CSFLE Oct 20, 2020
Copy link
Member

@ShaneHarvey ShaneHarvey left a comment

Choose a reason for hiding this comment

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

Can you document the new gcp and azure keys in ClientEncryption and AutoEncryptionOpts?

@prashantmital prashantmital force-pushed the PYTHON-2371/new-fle-keystores branch from 9de58b6 to f9bcabb Compare October 22, 2020 17:45
Copy link
Member

@ShaneHarvey ShaneHarvey left a comment

Choose a reason for hiding this comment

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

Can you also update the "master_key" docs for ClientEncryption.create_data_key?

@prashantmital
Copy link
Contributor Author

@ShaneHarvey updated.

@ShaneHarvey
Copy link
Member

I also opened https://jira.mongodb.org/browse/PYTHON-2405 to fix the AttributeError: function/symbol 'mongocrypt_setopt_kms_providers' not found in library 'libmongocrypt.so.0': test failures.

@prashantmital
Copy link
Contributor Author

Finally figured out why the tests weren't running - I wasn't exporting the environment variable names correctly.

@ShaneHarvey
Copy link
Member

Can you schedule the latest patch to run python 2.7-3.6 to make sure the new tests work there too?

@prashantmital prashantmital force-pushed the PYTHON-2371/new-fle-keystores branch from 347d425 to 30b2fa4 Compare October 29, 2020 03:29
Copy link
Member

@ShaneHarvey ShaneHarvey left a comment

Choose a reason for hiding this comment

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

LGTM!

@prashantmital prashantmital merged commit e49c418 into mongodb:master Oct 29, 2020
@prashantmital prashantmital deleted the PYTHON-2371/new-fle-keystores branch October 29, 2020 20:44
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