You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- `showfieldsmap` needs to be renamed to `createfieldsmap` and we need
another management command called `showfieldsmap` to retrieve the keys
from the key vault (either from server side or client side generation.)
- In order to retrieve keys from the vault they need to have a
keyVaultName and PyMongo's `create_data_keys` does not provide this.
- If `encrypted_fields_map` is present, use it to create the collection,
else create the collection with `create_collection` and our
`encrypted_fields_map`.
- We may consider requiring users to provide an empty dictionary to initiate
server side encryption rather than relying on the absence of
`encrypted_fields_map`. PyMongo uses this convention in its KMS code
and in this case it emphasizes the need for a map and when and how the
map is created.
0 commit comments