Skip to content

Commit 0147d86

Browse files
auto commit
1 parent c8796d9 commit 0147d86

File tree

9 files changed

+42
-44
lines changed

9 files changed

+42
-44
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ primary key configuration:
3636
- Partition key is named "partition_key" with type (S)
3737
- Sort key is named "sort_key" with type (S)
3838
*/
39-
func MigrationStep1(kmsKeyID, ddbTableName, partitionKeyValue, sortKeyWriteValue, sortKeyReadValue string) error {
39+
func MigrationStep1(kmsKeyID, ddbTableName, partitionKeyValue, sortKeyWriteValue, sortKeyReadValue, encryptedAndSignedValue, signOnlyValue, doNothingValue string) error {
4040
cfg, err := config.LoadDefaultConfig(context.TODO())
4141
utils.HandleError(err)
4242

@@ -66,9 +66,6 @@ func MigrationStep1(kmsKeyID, ddbTableName, partitionKeyValue, sortKeyWriteValue
6666

6767
// 3. Put an item into your table.
6868
// This item will be stored in plaintext.
69-
encryptedAndSignedValue := "this will be encrypted and signed"
70-
signOnlyValue := "this will never be encrypted, but it will be signed"
71-
doNothingValue := "this will never be encrypted nor signed"
7269
item := map[string]types.AttributeValue{
7370
"partition_key": &types.AttributeValueMemberS{Value: partitionKeyValue},
7471
"sort_key": &types.AttributeValueMemberN{Value: sortKeyWriteValue},

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package awsdbe
33
import (
44
"testing"
55

6+
plaintexttoawsdbe "github.com/aws/aws-database-encryption-sdk-dynamodb/releases/go/dynamodb-esdk/examples/migration/PlaintextToAWSDBE"
67
"github.com/aws/aws-database-encryption-sdk-dynamodb/releases/go/dynamodb-esdk/examples/migration/PlaintextToAWSDBE/plaintext"
78
"github.com/aws/aws-database-encryption-sdk-dynamodb/releases/go/dynamodb-esdk/examples/utils"
89
"github.com/google/uuid"
@@ -15,31 +16,31 @@ func TestMigrationStep1(t *testing.T) {
1516
sortKeys := []string{"0", "1", "2", "3"}
1617

1718
// Successfully executes Step 1
18-
err := MigrationStep1(kmsKeyID, tableName, partitionKey, sortKeys[1], sortKeys[1])
19+
err := MigrationStep1(kmsKeyID, tableName, partitionKey, sortKeys[1], sortKeys[1], plaintexttoawsdbe.EncryptedAndSignedValue, plaintexttoawsdbe.SignOnlyValue, plaintexttoawsdbe.SignOnlyValue)
1920
utils.HandleError(err)
2021

2122
// Given: Step 0 has succeeded
22-
err = plaintext.MigrationStep0(tableName, partitionKey, sortKeys[0], sortKeys[0])
23+
err = plaintext.MigrationStep0(tableName, partitionKey, sortKeys[0], sortKeys[0], plaintexttoawsdbe.EncryptedAndSignedValue, plaintexttoawsdbe.SignOnlyValue, plaintexttoawsdbe.SignOnlyValue)
2324
utils.HandleError(err)
2425

2526
// When: Execute Step 1 with sortReadValue=0, Then: Success (i.e. can read plaintext values)
26-
err = MigrationStep1(kmsKeyID, tableName, partitionKey, sortKeys[1], sortKeys[0])
27+
err = MigrationStep1(kmsKeyID, tableName, partitionKey, sortKeys[1], sortKeys[0], plaintexttoawsdbe.EncryptedAndSignedValue, plaintexttoawsdbe.SignOnlyValue, plaintexttoawsdbe.SignOnlyValue)
2728
utils.HandleError(err)
2829

2930
// Given: Step 2 has succeeded
30-
err = MigrationStep2(kmsKeyID, tableName, partitionKey, sortKeys[2], sortKeys[2])
31+
err = MigrationStep2(kmsKeyID, tableName, partitionKey, sortKeys[2], sortKeys[2], plaintexttoawsdbe.EncryptedAndSignedValue, plaintexttoawsdbe.SignOnlyValue, plaintexttoawsdbe.SignOnlyValue)
3132
utils.HandleError(err)
3233

3334
// When: Execute Step 1 with sortReadValue=2, Then: Success (i.e. can read encrypted values)
34-
err = MigrationStep1(kmsKeyID, tableName, partitionKey, sortKeys[1], sortKeys[2])
35+
err = MigrationStep1(kmsKeyID, tableName, partitionKey, sortKeys[1], sortKeys[2], plaintexttoawsdbe.EncryptedAndSignedValue, plaintexttoawsdbe.SignOnlyValue, plaintexttoawsdbe.SignOnlyValue)
3536
utils.HandleError(err)
3637

3738
// Given: Step 3 has succeeded
38-
err = MigrationStep3(kmsKeyID, tableName, partitionKey, sortKeys[3], sortKeys[3])
39+
err = MigrationStep3(kmsKeyID, tableName, partitionKey, sortKeys[3], sortKeys[3], plaintexttoawsdbe.EncryptedAndSignedValue, plaintexttoawsdbe.SignOnlyValue, plaintexttoawsdbe.SignOnlyValue)
3940
utils.HandleError(err)
4041

4142
// When: Execute Step 1 with sortReadValue=3, Then: Success (i.e. can read encrypted values)
42-
err = MigrationStep1(kmsKeyID, tableName, partitionKey, sortKeys[1], sortKeys[3])
43+
err = MigrationStep1(kmsKeyID, tableName, partitionKey, sortKeys[1], sortKeys[3], plaintexttoawsdbe.EncryptedAndSignedValue, plaintexttoawsdbe.SignOnlyValue, plaintexttoawsdbe.SignOnlyValue)
4344
utils.HandleError(err)
4445

4546
// Cleanup

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ primary key configuration:
3838
- Partition key is named "partition_key" with type (S)
3939
- Sort key is named "sort_key" with type (S)
4040
*/
41-
func MigrationStep2(kmsKeyID, ddbTableName, partitionKeyValue, sortKeyWriteValue, sortKeyReadValue string) error {
41+
func MigrationStep2(kmsKeyID, ddbTableName, partitionKeyValue, sortKeyWriteValue, sortKeyReadValue, encryptedAndSignedValue, signOnlyValue, doNothingValue string) error {
4242
cfg, err := config.LoadDefaultConfig(context.TODO())
4343
utils.HandleError(err)
4444

@@ -64,9 +64,6 @@ func MigrationStep2(kmsKeyID, ddbTableName, partitionKeyValue, sortKeyWriteValue
6464

6565
// 3. Put an item into your table.
6666
// This item will be encrypted.
67-
encryptedAndSignedValue := "this will be encrypted and signed"
68-
signOnlyValue := "this will never be encrypted, but it will be signed"
69-
doNothingValue := "this will never be encrypted nor signed"
7067
item := map[string]types.AttributeValue{
7168
"partition_key": &types.AttributeValueMemberS{Value: partitionKeyValue},
7269
"sort_key": &types.AttributeValueMemberN{Value: sortKeyWriteValue},

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package awsdbe
33
import (
44
"testing"
55

6+
plaintexttoawsdbe "github.com/aws/aws-database-encryption-sdk-dynamodb/releases/go/dynamodb-esdk/examples/migration/PlaintextToAWSDBE"
67
"github.com/aws/aws-database-encryption-sdk-dynamodb/releases/go/dynamodb-esdk/examples/migration/PlaintextToAWSDBE/plaintext"
78
"github.com/aws/aws-database-encryption-sdk-dynamodb/releases/go/dynamodb-esdk/examples/utils"
89
"github.com/google/uuid"
@@ -15,31 +16,31 @@ func TestMigrationStep2(t *testing.T) {
1516
sortKeys := []string{"0", "1", "2", "3"}
1617

1718
// Successfully executes Step 2
18-
err := MigrationStep2(kmsKeyID, tableName, partitionKey, sortKeys[2], sortKeys[2])
19+
err := MigrationStep2(kmsKeyID, tableName, partitionKey, sortKeys[2], sortKeys[2], plaintexttoawsdbe.EncryptedAndSignedValue, plaintexttoawsdbe.SignOnlyValue, plaintexttoawsdbe.SignOnlyValue)
1920
utils.HandleError(err)
2021

2122
// Given: Step 0 has succeeded
22-
err = plaintext.MigrationStep0(tableName, partitionKey, sortKeys[0], sortKeys[0])
23+
err = plaintext.MigrationStep0(tableName, partitionKey, sortKeys[0], sortKeys[0], plaintexttoawsdbe.EncryptedAndSignedValue, plaintexttoawsdbe.SignOnlyValue, plaintexttoawsdbe.SignOnlyValue)
2324
utils.HandleError(err)
2425

2526
// When: Execute Step 2 with sortReadValue=0, Then: Success (i.e. can read plaintext values)
26-
err = MigrationStep2(kmsKeyID, tableName, partitionKey, sortKeys[2], sortKeys[0])
27+
err = MigrationStep2(kmsKeyID, tableName, partitionKey, sortKeys[2], sortKeys[0], plaintexttoawsdbe.EncryptedAndSignedValue, plaintexttoawsdbe.SignOnlyValue, plaintexttoawsdbe.SignOnlyValue)
2728
utils.HandleError(err)
2829

2930
// Given: Step 1 has succeeded
30-
err = MigrationStep1(kmsKeyID, tableName, partitionKey, sortKeys[1], sortKeys[1])
31+
err = MigrationStep1(kmsKeyID, tableName, partitionKey, sortKeys[1], sortKeys[1], plaintexttoawsdbe.EncryptedAndSignedValue, plaintexttoawsdbe.SignOnlyValue, plaintexttoawsdbe.SignOnlyValue)
3132
utils.HandleError(err)
3233

3334
// When: Execute Step 2 with sortReadValue=1, Then: Success (i.e. can read encrypted values)
34-
err = MigrationStep2(kmsKeyID, tableName, partitionKey, sortKeys[2], sortKeys[1])
35+
err = MigrationStep2(kmsKeyID, tableName, partitionKey, sortKeys[2], sortKeys[1], plaintexttoawsdbe.EncryptedAndSignedValue, plaintexttoawsdbe.SignOnlyValue, plaintexttoawsdbe.SignOnlyValue)
3536
utils.HandleError(err)
3637

3738
// Given: Step 3 has succeeded
38-
err = MigrationStep3(kmsKeyID, tableName, partitionKey, sortKeys[3], sortKeys[3])
39+
err = MigrationStep3(kmsKeyID, tableName, partitionKey, sortKeys[3], sortKeys[3], plaintexttoawsdbe.EncryptedAndSignedValue, plaintexttoawsdbe.SignOnlyValue, plaintexttoawsdbe.SignOnlyValue)
3940
utils.HandleError(err)
4041

4142
// When: Execute Step 2 with sortReadValue=3, Then: Success (i.e. can read encrypted values)
42-
err = MigrationStep2(kmsKeyID, tableName, partitionKey, sortKeys[2], sortKeys[3])
43+
err = MigrationStep2(kmsKeyID, tableName, partitionKey, sortKeys[2], sortKeys[3], plaintexttoawsdbe.EncryptedAndSignedValue, plaintexttoawsdbe.SignOnlyValue, plaintexttoawsdbe.SignOnlyValue)
4344
utils.HandleError(err)
4445

4546
// Cleanup

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ primary key configuration:
3131
- Partition key is named "partition_key" with type (S)
3232
- Sort key is named "sort_key" with type (S)
3333
*/
34-
func MigrationStep3(kmsKeyID, ddbTableName, partitionKeyValue, sortKeyWriteValue, sortKeyReadValue string) error {
34+
func MigrationStep3(kmsKeyID, ddbTableName, partitionKeyValue, sortKeyWriteValue, sortKeyReadValue, encryptedAndSignedValue, signOnlyValue, doNothingValue string) error {
3535
cfg, err := config.LoadDefaultConfig(context.TODO())
3636
utils.HandleError(err)
3737

@@ -61,9 +61,6 @@ func MigrationStep3(kmsKeyID, ddbTableName, partitionKeyValue, sortKeyWriteValue
6161

6262
// 3. Put an item into your table.
6363
// This item will be encrypted.
64-
encryptedAndSignedValue := "this will be encrypted and signed"
65-
signOnlyValue := "this will never be encrypted, but it will be signed"
66-
doNothingValue := "this will never be encrypted nor signed"
6764
item := map[string]types.AttributeValue{
6865
"partition_key": &types.AttributeValueMemberS{Value: partitionKeyValue},
6966
"sort_key": &types.AttributeValueMemberN{Value: sortKeyWriteValue},

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package awsdbe
33
import (
44
"testing"
55

6+
plaintexttoawsdbe "github.com/aws/aws-database-encryption-sdk-dynamodb/releases/go/dynamodb-esdk/examples/migration/PlaintextToAWSDBE"
67
"github.com/aws/aws-database-encryption-sdk-dynamodb/releases/go/dynamodb-esdk/examples/migration/PlaintextToAWSDBE/plaintext"
78
"github.com/aws/aws-database-encryption-sdk-dynamodb/releases/go/dynamodb-esdk/examples/utils"
89
"github.com/google/uuid"
@@ -15,31 +16,31 @@ func TestMigrationStep3(t *testing.T) {
1516
sortKeys := []string{"0", "1", "2", "3"}
1617

1718
// Successfully executes Step 3
18-
err := MigrationStep3(kmsKeyID, tableName, partitionKey, sortKeys[3], sortKeys[3])
19+
err := MigrationStep3(kmsKeyID, tableName, partitionKey, sortKeys[3], sortKeys[3], plaintexttoawsdbe.EncryptedAndSignedValue, plaintexttoawsdbe.SignOnlyValue, plaintexttoawsdbe.SignOnlyValue)
1920
utils.HandleError(err)
2021

2122
// Given: Step 0 has succeeded
22-
err = plaintext.MigrationStep0(tableName, partitionKey, sortKeys[0], sortKeys[0])
23+
err = plaintext.MigrationStep0(tableName, partitionKey, sortKeys[0], sortKeys[0], plaintexttoawsdbe.EncryptedAndSignedValue, plaintexttoawsdbe.SignOnlyValue, plaintexttoawsdbe.SignOnlyValue)
2324
utils.HandleError(err)
2425

2526
// When: Execute Step 3 with sortReadValue=0, Then: should panic (cannot read plaintext values)
26-
err = MigrationStep3(kmsKeyID, tableName, partitionKey, sortKeys[3], sortKeys[0])
27+
err = MigrationStep3(kmsKeyID, tableName, partitionKey, sortKeys[3], sortKeys[0], plaintexttoawsdbe.EncryptedAndSignedValue, plaintexttoawsdbe.SignOnlyValue, plaintexttoawsdbe.SignOnlyValue)
2728
utils.AssertServiceError(err, "DynamoDB", "GetItem", "Encrypted item missing expected header and footer attributes")
2829

2930
// Given: Step 1 has succeeded
30-
err = MigrationStep1(kmsKeyID, tableName, partitionKey, sortKeys[1], sortKeys[1])
31+
err = MigrationStep1(kmsKeyID, tableName, partitionKey, sortKeys[1], sortKeys[1], plaintexttoawsdbe.EncryptedAndSignedValue, plaintexttoawsdbe.SignOnlyValue, plaintexttoawsdbe.SignOnlyValue)
3132
utils.HandleError(err)
3233

3334
// When: Execute Step 3 with sortReadValue=1, Then: should error out (cannot read plaintext values)
34-
err = MigrationStep3(kmsKeyID, tableName, partitionKey, sortKeys[3], sortKeys[1])
35+
err = MigrationStep3(kmsKeyID, tableName, partitionKey, sortKeys[3], sortKeys[1], plaintexttoawsdbe.EncryptedAndSignedValue, plaintexttoawsdbe.SignOnlyValue, plaintexttoawsdbe.SignOnlyValue)
3536
utils.AssertServiceError(err, "DynamoDB", "GetItem", "Encrypted item missing expected header and footer attributes")
3637

3738
// Given: Step 2 has succeeded
38-
err = MigrationStep2(kmsKeyID, tableName, partitionKey, sortKeys[2], sortKeys[2])
39+
err = MigrationStep2(kmsKeyID, tableName, partitionKey, sortKeys[2], sortKeys[2], plaintexttoawsdbe.EncryptedAndSignedValue, plaintexttoawsdbe.SignOnlyValue, plaintexttoawsdbe.SignOnlyValue)
3940
utils.HandleError(err)
4041

4142
// When: Execute Step 3 with sortReadValue=2, Then: Success (can read encrypted values)
42-
err = MigrationStep3(kmsKeyID, tableName, partitionKey, sortKeys[3], sortKeys[2])
43+
err = MigrationStep3(kmsKeyID, tableName, partitionKey, sortKeys[3], sortKeys[2], plaintexttoawsdbe.EncryptedAndSignedValue, plaintexttoawsdbe.SignOnlyValue, plaintexttoawsdbe.SignOnlyValue)
4344
utils.HandleError(err)
4445

4546
// Cleanup

Examples/runtimes/go/migration/PlaintextToAWSDBE/migrationutils.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ import (
77
"github.com/aws/aws-sdk-go-v2/service/dynamodb/types"
88
)
99

10+
const (
11+
EncryptedAndSignedValue = "this will be encrypted and signed"
12+
SignOnlyValue = "this will never be encrypted, but it will be signed"
13+
DoNothingValue = "this will never be encrypted nor signed"
14+
)
15+
1016
func VerifyReturnedItem(result *dynamodb.GetItemOutput, partitionKeyValue, sortKeyValue, encryptedAndSignedValue, signOnlyValue, doNothingValue string) error {
1117
returnedPartitionKey, ok := result.Item["partition_key"].(*types.AttributeValueMemberS)
1218
if !ok {

Examples/runtimes/go/migration/PlaintextToAWSDBE/plaintext/step0.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,14 @@ primary key configuration:
3131
- Partition key is named "partition_key" with type (S)
3232
- Sort key is named "sort_key" with type (S)
3333
*/
34-
func MigrationStep0(ddbTableName, partitionKeyValue, sortKeyWriteValue, sortKeyReadValue string) error {
34+
func MigrationStep0(ddbTableName, partitionKeyValue, sortKeyWriteValue, sortKeyReadValue, encryptedAndSignedValue, signOnlyValue, doNothingValue string) error {
3535
// 1. Create a standard DynamoDB client
3636
cfg, err := config.LoadDefaultConfig(context.TODO())
3737
utils.HandleError(err)
3838
ddb := dynamodb.NewFromConfig(cfg)
3939

4040
// 2. Put an example item into DynamoDB table
4141
// This item will be stored in plaintext.
42-
encryptedAndSignedValue := "this will be encrypted and signed"
43-
signOnlyValue := "this will never be encrypted, but it will be signed"
44-
doNothingValue := "this will never be encrypted nor signed"
4542
item := map[string]types.AttributeValue{
4643
"partition_key": &types.AttributeValueMemberS{Value: partitionKeyValue},
4744
"sort_key": &types.AttributeValueMemberN{Value: sortKeyWriteValue},

Examples/runtimes/go/migration/PlaintextToAWSDBE/plaintext/step0_test.go

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package plaintext
33
import (
44
"testing"
55

6+
plaintexttoawsdbe "github.com/aws/aws-database-encryption-sdk-dynamodb/releases/go/dynamodb-esdk/examples/migration/PlaintextToAWSDBE"
67
"github.com/aws/aws-database-encryption-sdk-dynamodb/releases/go/dynamodb-esdk/examples/migration/PlaintextToAWSDBE/awsdbe"
78
"github.com/aws/aws-database-encryption-sdk-dynamodb/releases/go/dynamodb-esdk/examples/utils"
89
"github.com/google/uuid"
@@ -15,29 +16,29 @@ func TestMigrationStep0(t *testing.T) {
1516
sortKeys := []string{"0", "1", "2", "3"}
1617

1718
// Successfully executes step 0
18-
err := MigrationStep0(tableName, partitionKey, sortKeys[0], sortKeys[0])
19+
err := MigrationStep0(tableName, partitionKey, sortKeys[0], sortKeys[0], plaintexttoawsdbe.EncryptedAndSignedValue, plaintexttoawsdbe.SignOnlyValue, plaintexttoawsdbe.SignOnlyValue)
1920
utils.HandleError(err)
2021

2122
// Given: Step 1 has succeeded
22-
err = awsdbe.MigrationStep1(kmsKeyID, tableName, partitionKey, sortKeys[1], sortKeys[1])
23+
err = awsdbe.MigrationStep1(kmsKeyID, tableName, partitionKey, sortKeys[1], sortKeys[1], plaintexttoawsdbe.EncryptedAndSignedValue, plaintexttoawsdbe.SignOnlyValue, plaintexttoawsdbe.SignOnlyValue)
2324
utils.HandleError(err)
2425

2526
// When: Execute Step 0 with sortReadValue=1, Then: Success (i.e. can read plaintext values)
26-
err = MigrationStep0(tableName, partitionKey, sortKeys[0], sortKeys[1])
27+
err = MigrationStep0(tableName, partitionKey, sortKeys[0], sortKeys[1], plaintexttoawsdbe.EncryptedAndSignedValue, plaintexttoawsdbe.SignOnlyValue, plaintexttoawsdbe.SignOnlyValue)
2728
utils.HandleError(err)
2829

2930
// Given: Step 2 has succeeded
30-
err = awsdbe.MigrationStep2(kmsKeyID, tableName, partitionKey, sortKeys[2], sortKeys[2])
31+
err = awsdbe.MigrationStep2(kmsKeyID, tableName, partitionKey, sortKeys[2], sortKeys[2], plaintexttoawsdbe.EncryptedAndSignedValue, plaintexttoawsdbe.SignOnlyValue, plaintexttoawsdbe.SignOnlyValue)
3132
utils.HandleError(err)
3233

3334
// When: Execute Step 0 with sortReadValue=2, Then: should error out when reading encrypted items.
34-
err = MigrationStep0(tableName, partitionKey, sortKeys[0], sortKeys[2])
35+
err = MigrationStep0(tableName, partitionKey, sortKeys[0], sortKeys[2], plaintexttoawsdbe.EncryptedAndSignedValue, plaintexttoawsdbe.SignOnlyValue, plaintexttoawsdbe.SignOnlyValue)
3536
utils.AssertErrorMessage(err, "attribute1 is not a string attribute")
3637

3738
// Given: Step 3 has succeeded (if it exists)
38-
awsdbe.MigrationStep3(kmsKeyID, tableName, partitionKey, sortKeys[3], sortKeys[3])
39+
awsdbe.MigrationStep3(kmsKeyID, tableName, partitionKey, sortKeys[3], sortKeys[3], plaintexttoawsdbe.EncryptedAndSignedValue, plaintexttoawsdbe.SignOnlyValue, plaintexttoawsdbe.SignOnlyValue)
3940
// When: Execute Step 0 with sortReadValue=3, Then: should error out
40-
err = MigrationStep0(tableName, partitionKey, sortKeys[0], sortKeys[3])
41+
err = MigrationStep0(tableName, partitionKey, sortKeys[0], sortKeys[3], plaintexttoawsdbe.EncryptedAndSignedValue, plaintexttoawsdbe.SignOnlyValue, plaintexttoawsdbe.SignOnlyValue)
4142
utils.AssertErrorMessage(err, "attribute1 is not a string attribute")
4243

4344
// Cleanup

0 commit comments

Comments
 (0)