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