We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffbf10c commit 4b2f0d8Copy full SHA for 4b2f0d8
README.md
@@ -68,9 +68,10 @@ func main() {
68
}
69
70
// Create an encrypted DynamoDB client
71
- attributeActions := encrypted.NewAttributeActions(encrypted.AttributeActionDoNothing)
72
- attributeActions.SetAttributeAction("SensitiveData", encrypted.AttributeActionEncrypt)
73
- encryptedClient := encrypted.NewEncryptedClient(dynamodbClient, cmp, attributeActions)
+ clientConfig := encrypted.NewClientConfig(
+ encrypted.WithDefaultEncryption(encrypted.EncryptStandard),
+ . }
74
+ encryptedClient := encrypted.NewEncryptedClient(dynamodbClient, cmp, attributeActions)
75
76
// Perform encrypted DynamoDB operations
77
putItemInput := &dynamodb.PutItemInput{
0 commit comments