|
8 | 8 | "github.com/aws/aws-database-encryption-sdk-dynamodb/examples/itemencryptor"
|
9 | 9 | "github.com/aws/aws-database-encryption-sdk-dynamodb/examples/keyring"
|
10 | 10 | "github.com/aws/aws-database-encryption-sdk-dynamodb/examples/misc"
|
| 11 | + "github.com/aws/aws-database-encryption-sdk-dynamodb/examples/searchableencryption" |
11 | 12 | "github.com/aws/aws-database-encryption-sdk-dynamodb/examples/utils"
|
12 | 13 | )
|
13 | 14 |
|
@@ -68,4 +69,26 @@ func main() {
|
68 | 69 | itemencryptor.ItemEncryptDecryptExample(
|
69 | 70 | utils.KmsKeyID(),
|
70 | 71 | utils.DdbTableName())
|
| 72 | + |
| 73 | + // searchable encryption example |
| 74 | + searchableencryption.BasicSearchableEncryptionExample( |
| 75 | + utils.UnitInspectionTestDdbTableName(), |
| 76 | + branchKey1, |
| 77 | + utils.TestKeystoreKmsKeyId(), |
| 78 | + utils.TestKeystoreName()) |
| 79 | + searchableencryption.BeaconStylesSearchableEncryptionExample( |
| 80 | + utils.UnitInspectionTestDdbTableName(), |
| 81 | + branchKey1, |
| 82 | + utils.TestKeystoreKmsKeyId(), |
| 83 | + utils.TestKeystoreName()) |
| 84 | + searchableencryption.CompoundBeaconSearchableEncryptionExample( |
| 85 | + utils.UnitInspectionTestDdbTableName(), |
| 86 | + branchKey2, |
| 87 | + utils.TestKeystoreKmsKeyId(), |
| 88 | + utils.TestKeystoreName()) |
| 89 | + searchableencryption.VirtualBeaconSearchableEncryptionExample( |
| 90 | + utils.SimpleBeaconTestDdbTableName(), |
| 91 | + branchKey2, |
| 92 | + utils.TestKeystoreKmsKeyId(), |
| 93 | + utils.TestKeystoreName()) |
71 | 94 | }
|
0 commit comments