Skip to content

Commit 627b6a5

Browse files
Merge branch 'main' into addBasicPutGetExample
2 parents 651667c + 07bdbe7 commit 627b6a5

File tree

6 files changed

+1675
-14
lines changed

6 files changed

+1675
-14
lines changed

Examples/runtimes/go/main.go

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77
"github.com/aws/aws-database-encryption-sdk-dynamodb/examples/itemencryptor"
88
"github.com/aws/aws-database-encryption-sdk-dynamodb/examples/keyring"
99
"github.com/aws/aws-database-encryption-sdk-dynamodb/examples/misc"
10+
"github.com/aws/aws-database-encryption-sdk-dynamodb/examples/searchableencryption"
1011
"github.com/aws/aws-database-encryption-sdk-dynamodb/examples/utils"
1112
)
1213

@@ -64,4 +65,26 @@ func main() {
6465
itemencryptor.ItemEncryptDecryptExample(
6566
utils.KmsKeyID(),
6667
utils.DdbTableName())
68+
69+
// searchable encryption example
70+
searchableencryption.BasicSearchableEncryptionExample(
71+
utils.UnitInspectionTestDdbTableName(),
72+
branchKey1,
73+
utils.TestKeystoreKmsKeyId(),
74+
utils.TestKeystoreName())
75+
searchableencryption.BeaconStylesSearchableEncryptionExample(
76+
utils.UnitInspectionTestDdbTableName(),
77+
branchKey1,
78+
utils.TestKeystoreKmsKeyId(),
79+
utils.TestKeystoreName())
80+
searchableencryption.CompoundBeaconSearchableEncryptionExample(
81+
utils.UnitInspectionTestDdbTableName(),
82+
branchKey2,
83+
utils.TestKeystoreKmsKeyId(),
84+
utils.TestKeystoreName())
85+
searchableencryption.VirtualBeaconSearchableEncryptionExample(
86+
utils.SimpleBeaconTestDdbTableName(),
87+
branchKey2,
88+
utils.TestKeystoreKmsKeyId(),
89+
utils.TestKeystoreName())
6790
}

0 commit comments

Comments
 (0)