File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Examples/runtimes/net/src/keyring Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ public static async Task SharedCacheAcrossHierarchicalKeyringsGetItemPutItem(Str
142
142
Cache = sharedCache ,
143
143
PartitionId = partitionId
144
144
} ;
145
- var hierarchicalKeyring1 = matProv . CreateAwsKmsHierarchicalKeyring ( keyringInput1 ) ;
145
+ IKeyring hierarchicalKeyring1 = matProv . 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,
@@ -214,7 +214,7 @@ public static async Task SharedCacheAcrossHierarchicalKeyringsGetItemPutItem(Str
214
214
Cache = sharedCache ,
215
215
PartitionId = partitionId
216
216
} ;
217
- var hierarchicalKeyring2 = matProv . CreateAwsKmsHierarchicalKeyring ( keyringInput2 ) ;
217
+ IKeyring hierarchicalKeyring2 = matProv . CreateAwsKmsHierarchicalKeyring ( keyringInput2 ) ;
218
218
219
219
// 9. Get the DDB Client for Hierarchical Keyring 2.
220
220
var ddbClient2 = GetDdbClient (
@@ -229,7 +229,7 @@ public static async Task SharedCacheAcrossHierarchicalKeyringsGetItemPutItem(Str
229
229
230
230
public static Client . DynamoDbClient GetDdbClient (
231
231
String ddbTableName ,
232
- MaterialProviders . IKeyring hierarchicalKeyring ,
232
+ IKeyring hierarchicalKeyring ,
233
233
Dictionary < String , CryptoAction > attributeActionsOnEncrypt
234
234
)
235
235
{
You can’t perform that action at this time.
0 commit comments