@@ -137,12 +137,12 @@ public static async Task SharedCacheAcrossHierarchicalKeyringsGetItemPutItem(Str
137
137
var keyringInput1 = new CreateAwsKmsHierarchicalKeyringInput
138
138
{
139
139
KeyStore = keystore1 ,
140
- branchKeyId = branchKeyId ,
140
+ BranchKeyId = branchKeyId ,
141
141
TtlSeconds = 600 , // This dictates how often we call back to KMS to authorize use of the branch keys
142
142
Cache = sharedCache ,
143
143
PartitionId = partitionId
144
144
} ;
145
- IKeyring hierarchicalKeyring1 = matProv . CreateAwsKmsHierarchicalKeyring ( keyringInput1 ) ;
145
+ IKeyring hierarchicalKeyring1 = materialProviders . CreateAwsKmsHierarchicalKeyring ( keyringInput1 ) ;
146
146
147
147
// 4. Configure which attributes are encrypted and/or signed when writing new items.
148
148
// For each attribute that may exist on the items we plan to write to our DynamoDbTable,
@@ -209,12 +209,12 @@ public static async Task SharedCacheAcrossHierarchicalKeyringsGetItemPutItem(Str
209
209
var keyringInput2 = new CreateAwsKmsHierarchicalKeyringInput
210
210
{
211
211
KeyStore = keystore2 ,
212
- branchKeyId = branchKeyId ,
212
+ BranchKeyId = branchKeyId ,
213
213
TtlSeconds = 600 , // This dictates how often we call back to KMS to authorize use of the branch keys
214
214
Cache = sharedCache ,
215
215
PartitionId = partitionId
216
216
} ;
217
- IKeyring hierarchicalKeyring2 = matProv . CreateAwsKmsHierarchicalKeyring ( keyringInput2 ) ;
217
+ IKeyring hierarchicalKeyring2 = materialProviders . CreateAwsKmsHierarchicalKeyring ( keyringInput2 ) ;
218
218
219
219
// 9. Get the DDB Client for Hierarchical Keyring 2.
220
220
var ddbClient2 = GetDdbClient (
@@ -284,7 +284,7 @@ Dictionary<String, CryptoAction> attributeActionsOnEncrypt
284
284
return ddbClient ;
285
285
}
286
286
287
- public static void PutGetItems (
287
+ public static async void PutGetItems (
288
288
String ddbTableName ,
289
289
Client . DynamoDbClient ddbClient
290
290
)
0 commit comments