Skip to content

Commit 38befdd

Browse files
auto commit
1 parent a369dcb commit 38befdd

File tree

1 file changed

+0
-10
lines changed
  • Examples/runtimes/go/migration/PlaintextToAWSDBE/awsdbe

1 file changed

+0
-10
lines changed

Examples/runtimes/go/migration/PlaintextToAWSDBE/awsdbe/common.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,6 @@ func configureTable(kmsKeyID, ddbTableName string, plaintextOverride dbesdkdynam
1515
// Create a Keyring. This Keyring will be responsible for protecting the data keys that protect your data.
1616
// We will use the `CreateMrkMultiKeyring` method to create this keyring,
1717
// as it will correctly handle both single region and Multi-Region KMS Keys.
18-
//
19-
// Note that while we still are not writing encrypted items,
20-
// and our key will not be used to encrypt items in this example,
21-
// our configuration specifies that we may read encrypted items,
22-
// and we should expect to be able to decrypt and process any encrypted items.
23-
// To that end, we must fully define our encryption configuration in
24-
// this step.
2518

2619
matProv, err := mpl.NewClient(mpltypes.MaterialProvidersConfig{})
2720
utils.HandleError(err)
@@ -58,9 +51,6 @@ func configureTable(kmsKeyID, ddbTableName string, plaintextOverride dbesdkdynam
5851
unsignedAttributes := []string{"attribute3"}
5952

6053
// Create encryption configuration for table.
61-
// Again, while we are not writing encrypted items,
62-
// we should expect to be able to read encrypted items.
63-
6454
tableConfig := dbesdkdynamodbencryptiontypes.DynamoDbTableEncryptionConfig{
6555
LogicalTableName: ddbTableName,
6656
PartitionKeyName: partitionKeyName,

0 commit comments

Comments
 (0)