Skip to content

Commit 4b2f0d8

Browse files
committed
WIP
1 parent ffbf10c commit 4b2f0d8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,10 @@ func main() {
6868
}
6969

7070
// Create an encrypted DynamoDB client
71-
attributeActions := encrypted.NewAttributeActions(encrypted.AttributeActionDoNothing)
72-
attributeActions.SetAttributeAction("SensitiveData", encrypted.AttributeActionEncrypt)
73-
encryptedClient := encrypted.NewEncryptedClient(dynamodbClient, cmp, attributeActions)
71+
clientConfig := encrypted.NewClientConfig(
72+
encrypted.WithDefaultEncryption(encrypted.EncryptStandard),
73+
. }
74+
encryptedClient := encrypted.NewEncryptedClient(dynamodbClient, cmp, attributeActions)
7475

7576
// Perform encrypted DynamoDB operations
7677
putItemInput := &dynamodb.PutItemInput{

0 commit comments

Comments
 (0)