Skip to content

Commit 37a60c5

Browse files
auto commit
1 parent 32fcb49 commit 37a60c5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Examples/runtimes/net/src/migration/PlaintextToAWSDBE/awsdbe/MigrationStep2.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public static async Task<bool> MigrationStep2Example(string kmsKeyId, string ddb
4343
// In this of migration we will use PlaintextOverride.FORBID_PLAINTEXT_WRITE_ALLOW_PLAINTEXT_READ
4444
// which means:
4545
// - Write: Items are forbidden to be written as plaintext.
46-
// Items will be written as encrypted items.
46+
// Items will be written as encrypted items.
4747
// - Read: Items are allowed to be read as plaintext.
4848
// Items are allowed to be read as encrypted items.
4949
var tableConfigs = Common.CreateTableConfigs(kmsKeyId, ddbTableName, PlaintextOverride.FORBID_PLAINTEXT_WRITE_ALLOW_PLAINTEXT_READ);

Examples/runtimes/net/src/migration/PlaintextToAWSDBE/awsdbe/MigrationStep3.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public static async Task<bool> MigrationStep3Example(string kmsKeyId, string ddb
4040
// In this of migration we will use PlaintextOverride.FORBID_PLAINTEXT_WRITE_FORBID_PLAINTEXT_READ
4141
// which means:
4242
// - Write: Items are forbidden to be written as plaintext.
43-
// Items will be written as encrypted items.
43+
// Items will be written as encrypted items.
4444
// - Read: Items are forbidden to be read as plaintext.
4545
// Items will be read as encrypted items.
4646
// Note: If you do not specify a PlaintextOverride, it defaults to
@@ -54,6 +54,8 @@ public static async Task<bool> MigrationStep3Example(string kmsKeyId, string ddb
5454

5555
// 3. Put an item into our table using the above client.
5656
// This item will be encrypted due to our PlaintextOverride configuration.
57+
string partitionKeyName = "partition_key";
58+
string sortKeyName = "sort_key";
5759
string encryptedAndSignedValue = MigrationUtils.ENCRYPTED_AND_SIGNED_VALUE;
5860
string signOnlyValue = MigrationUtils.SIGN_ONLY_VALUE;
5961
string doNothingValue = MigrationUtils.DO_NOTHING_VALUE;

0 commit comments

Comments
 (0)