Skip to content
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

feat(DynamoDbEncryption): Add GetEncryptedDataKeyDescription operation #856

Merged
merged 74 commits into from
May 10, 2024

Conversation

rishav-karanjit
Copy link
Member

Issue #, if available:

Description of changes:
This PR adds GetEncryptedDataKeyDescription to DynamoDbEncryption.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@rishav-karanjit rishav-karanjit changed the title Add GetEncryptedDataKeyDescription operation feat: Add GetEncryptedDataKeyDescription operation Mar 25, 2024
ajewellamz
ajewellamz previously approved these changes Apr 11, 2024
Copy link
Contributor

@ajewellamz ajewellamz left a comment

Choose a reason for hiding this comment

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

Looks good to me. You probably want someone else's opinion.

Copy link
Contributor

@texastony texastony left a comment

Choose a reason for hiding this comment

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

Blocking on a lack of User Documentation (@JavaDoc in the Smithy Model).

Though... I hope we can improve the plaintextItem name...

Comment on lines +7 to +9
public void TestGetEncryptedDataKeyDescription() {
GetEncryptedDataKeyDescriptionExample.getEncryptedDataKeyDescription(TestUtils.TEST_DDB_TABLE_NAME,"partition_key","BasicPutGetExample","sort_key","0","aws-kms",TestUtils.TEST_KMS_KEY_ID,null,null);
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Refactor this to:

  • Only pass TestUtils.TEST_DDB_TABLE_NAME,"partition_key","BasicPutGetExample"
  • Have getEncryptedDataKeyDescription return EncryptedDataKeyDescription, which the methods name implies with get.
  • Move all the assertions from the Example to this test.

@rishav-karanjit rishav-karanjit changed the title feat: Add GetEncryptedDataKeyDescription operation feat(DynamoDbEncryption): Add GetEncryptedDataKeyDescription operation May 6, 2024
@rishav-karanjit rishav-karanjit merged commit 8f8471a into main May 10, 2024
30 checks passed
@rishav-karanjit rishav-karanjit deleted the rishav-feat-parser branch May 10, 2024 17:06
rishav-karanjit pushed a commit that referenced this pull request May 30, 2024
## [3.5.0](v3.4.0...v3.5.0) (2024-05-30)

### Features

* **DynamoDbEncryption:** Add GetEncryptedDataKeyDescription operation ([#856](#856)) ([8f8471a](8f8471a))
* improve verification ([#1020](#1020)) ([cbde4ef](cbde4ef))
* simplify structured encryption ([#866](#866)) ([a70a569](a70a569))

### Maintenance

* allow Legacy to use subclass of DynamoDBEncryptor ([#1073](#1073)) ([135acd9](135acd9))
* bump MPL to 1.4 ([#1067](#1067)) ([51bbab5](51bbab5))
* **Java-Release:** update release commands and use SNAPSHOT builds ([#995](#995)) ([ac9b79e](ac9b79e))
* reformat and enforce formatting ([#1035](#1035)) ([8a76a9d](8a76a9d))
* verify with Dafny 4.6 ([#1072](#1072)) ([9db6e78](9db6e78))
ajewellamz pushed a commit that referenced this pull request May 31, 2024
* chore(release): 3.5.0

## [3.5.0](v3.4.0...v3.5.0) (2024-05-30)

### Features

* **DynamoDbEncryption:** Add GetEncryptedDataKeyDescription operation ([#856](#856)) ([8f8471a](8f8471a))
* improve verification ([#1020](#1020)) ([cbde4ef](cbde4ef))
* simplify structured encryption ([#866](#866)) ([a70a569](a70a569))

### Maintenance

* allow Legacy to use subclass of DynamoDBEncryptor ([#1073](#1073)) ([135acd9](135acd9))
* bump MPL to 1.4 ([#1067](#1067)) ([51bbab5](51bbab5))
* **Java-Release:** update release commands and use SNAPSHOT builds ([#995](#995)) ([ac9b79e](ac9b79e))
* reformat and enforce formatting ([#1035](#1035)) ([8a76a9d](8a76a9d))
* verify with Dafny 4.6 ([#1072](#1072)) ([9db6e78](9db6e78))
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.

None yet

4 participants