Skip to content

High level helpers #3

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

Closed
wants to merge 70 commits into from
Closed

High level helpers #3

wants to merge 70 commits into from

Conversation

mattsb42-aws
Copy link
Member

The primary purpose of this change is to add high-level helper objects that provide friendly abstractions on top of the item encryption functions that behave like boto3 DynamoDB Client, Resource, and Table objects.

Also included here are various ephemera surfaced in #1 such as improving deep type checking with attrs.

…ribute actions in place, but do update the attribute actions used with the table info available
* get item validation to not allow attribute filtering
* allow for per-request CryptoConfig provisioning on batch methods
This was present in order to maintain consistent behavior if the libary
was used with attrs < 17.0, but we are now using features of attrs
that were introduced after 17.0. I think we can safely remove these
safety barriers to get simpler, cleaner looking code.
The original idea was to have the encoding type centrally defined,
but we need to stick to utf-8 for compatibility anyway, so I think
it is simpler to just explicitly state it where it is needed.
* fix issues with AWS KMS CMP building KMS encryption context
* fix issues with handling decimals
* add unit tests for all material providers
… is necessary because boto3 DDB clients do not always expect DDB JSON
…o generate rather than bytes for symmetric and bits for RSA
…ing to change and they are currently necessary if you are building an EncryptionContext manually
…query paginators that transparently decrypt the resulting items
@mattsb42-aws
Copy link
Member Author

This PR rather grew out of control...closing to split it up into more manageable pieces.

@mattsb42-aws mattsb42-aws deleted the high-level-helpers branch May 2, 2018 22:59
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.

1 participant