[Go] AWS KMS & DynamoDB Metastore implementations for AWS SDK for Go v2 #1058
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
To help us get this pull request reviewed and merged quickly, please be sure to include the following items:
PR Type
What kind of change does this PR introduce?
Backward Compatibility
Is this change backward compatible with the most recently released version? Does it introduce changes which might change the user experience in any way? Does it alter the API in any way?
Issue Linking
Resolves #1031
What's new?
./go/appencryption/plugins/aws-v2/kms
./go/appencryption/plugins/aws-v2/dynamodb/metastore
./go/appencryption/integrationtests
package to support implementations from bothaws-v1
andaws-v2
pkg/kms/aws.go
andpkg/persistence/dynamodb.go
. These files contain convenience wrappers and aliases to types located inplugins/aws-v1/kms
andplugins/aws-v1/persistence
, resulting in a transient dependency on AWS SDK for Go V1. If your project isn't using V1 of the AWS SDK for Go, you can use thenodeprecated
build tag to manually remove this dependency and reduce the overall size of your project's compiled output.go build -tags nodeprecated main.go
./go/appencryption/cmd/example
) to useaws-v2
implementations