Skip to content

Commit e09ee47

Browse files
committed
fix
1 parent 88290f0 commit e09ee47

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Examples/runtimes/net/src/keyring/SharedCacheAcrossHierarchicalKeyringsExample.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public static async Task SharedCacheAcrossHierarchicalKeyringsGetItemPutItem(Str
142142
Cache = sharedCache,
143143
PartitionId = partitionId
144144
};
145-
var hierarchicalKeyring1 = matProv.CreateAwsKmsHierarchicalKeyring(keyringInput1);
145+
IKeyring hierarchicalKeyring1 = matProv.CreateAwsKmsHierarchicalKeyring(keyringInput1);
146146

147147
// 4. Configure which attributes are encrypted and/or signed when writing new items.
148148
// 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
214214
Cache = sharedCache,
215215
PartitionId = partitionId
216216
};
217-
var hierarchicalKeyring2 = matProv.CreateAwsKmsHierarchicalKeyring(keyringInput2);
217+
IKeyring hierarchicalKeyring2 = matProv.CreateAwsKmsHierarchicalKeyring(keyringInput2);
218218

219219
// 9. Get the DDB Client for Hierarchical Keyring 2.
220220
var ddbClient2 = GetDdbClient(
@@ -229,7 +229,7 @@ public static async Task SharedCacheAcrossHierarchicalKeyringsGetItemPutItem(Str
229229

230230
public static Client.DynamoDbClient GetDdbClient(
231231
String ddbTableName,
232-
MaterialProviders.IKeyring hierarchicalKeyring,
232+
IKeyring hierarchicalKeyring,
233233
Dictionary<String, CryptoAction> attributeActionsOnEncrypt
234234
)
235235
{

0 commit comments

Comments
 (0)