Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client Encryption: Adds support to use gateway cache to get client encryption key properties #2454

Merged
merged 41 commits into from
Dec 6, 2021
Merged
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
06c383d
Perform cached reads of Client Encryption Key Properties on the gateway.
kr-santosh May 11, 2021
4897f51
Update EncryptionCosmosClient.cs
kr-santosh May 11, 2021
6a25002
Merge branch 'master' into users/sakulk/useCekGatewayCache
kr-santosh May 25, 2021
5b390bf
Merge branch 'master' into users/sakulk/useCekGatewayCache
kr-santosh May 25, 2021
c91cc19
Update EncryptionCosmosClient.cs
kr-santosh May 25, 2021
d26df92
Update MdeEncryptionTests.cs
kr-santosh May 25, 2021
14a98cf
Merge branch 'master' into users/sakulk/useCekGatewayCache
kr-santosh Jun 21, 2021
9f27ad5
Merge branch 'master' into users/sakulk/useCekGatewayCache
kr-santosh Jun 21, 2021
64c4ebc
Update EncryptionSettingForProperty.cs
kr-santosh Jun 21, 2021
5ae4062
Merge branch 'master' into users/sakulk/useCekGatewayCache
kr-santosh Jun 22, 2021
dc5a2b3
Update EncryptionSettingForProperty.cs
kr-santosh Jun 23, 2021
2a7c38e
Merge branch 'master' into users/sakulk/useCekGatewayCache
kr-santosh Jul 12, 2021
cfa77c2
Merge branch 'master' into users/sakulk/useCekGatewayCache
kr-santosh Jul 27, 2021
9c395e1
Updated exception message.
kr-santosh Aug 19, 2021
91c1a80
Merge branch 'master' into users/sakulk/useCekGatewayCache
kr-santosh Sep 15, 2021
3fd374b
Merge branch 'master' into users/sakulk/useCekGatewayCache
kr-santosh Sep 22, 2021
9165ebb
Merge branch 'master' into users/sakulk/useCekGatewayCache
kr-santosh Sep 27, 2021
b6ff5dd
Updated exception message.
kr-santosh Sep 27, 2021
1ace97f
Update EncryptionTransactionalBatch.cs
kr-santosh Sep 27, 2021
363194a
Reverted the change.
kr-santosh Sep 27, 2021
ba47eb6
Update MdeEncryptionTests.cs
kr-santosh Sep 27, 2021
2bb31f5
Merge branch 'master' into users/sakulk/useCekGatewayCache
kr-santosh Sep 28, 2021
6f1149e
Merge branch 'master' into users/sakulk/useCekGatewayCache
kr-santosh Sep 29, 2021
b4e1e94
Merge branch 'master' into users/sakulk/useCekGatewayCache
kr-santosh Sep 30, 2021
cd67f72
Merge branch 'master' into users/sakulk/useCekGatewayCache
kr-santosh Oct 4, 2021
97a0753
Merge branch 'master' into users/sakulk/useCekGatewayCache
kr-santosh Oct 18, 2021
cc8a132
Merge branch 'master' into users/sakulk/useCekGatewayCache
kr-santosh Nov 16, 2021
58835a7
Merge branch 'master' into users/sakulk/useCekGatewayCache
kr-santosh Nov 16, 2021
255bdd3
Update Constants.cs
kr-santosh Nov 16, 2021
7261121
Update EncryptionSettingForProperty.cs
kr-santosh Nov 16, 2021
e70fca9
Update EncryptionSettingForProperty.cs
kr-santosh Nov 17, 2021
88f600d
Refactor, made the code iterative.
kr-santosh Nov 17, 2021
c444ff4
Update EncryptionProcessor.cs
kr-santosh Nov 17, 2021
b682499
Merge branch 'master' into users/sakulk/useCekGatewayCache
kr-santosh Nov 29, 2021
d213af1
Update EncryptionSettingForProperty.cs
kr-santosh Nov 30, 2021
c9258b2
Merge branch 'master' into users/sakulk/useCekGatewayCache
kr-santosh Nov 30, 2021
b552c24
Merge branch 'master' into users/sakulk/useCekGatewayCache
kr-santosh Dec 1, 2021
4d919a3
Update EncryptionSettingForProperty.cs
kr-santosh Dec 1, 2021
a850752
Merge branch 'users/sakulk/useCekGatewayCache' of https://github.com/…
kr-santosh Dec 1, 2021
ae9ce1b
Merge branch 'master' into users/sakulk/useCekGatewayCache
kr-santosh Dec 2, 2021
71bbc12
Merge branch 'master' into users/sakulk/useCekGatewayCache
kr-santosh Dec 6, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update EncryptionCosmosClient.cs
  • Loading branch information
kr-santosh committed May 11, 2021
commit 4897f51f5f9f8478d8b523eca222d1a3d696b083
Original file line number Diff line number Diff line change
Expand Up @@ -213,11 +213,11 @@ public async Task<ClientEncryptionKeyProperties> GetClientEncryptionKeyPropertie
}

return await this.clientEncryptionKeyPropertiesCacheByKeyId.GetAsync(
cacheKey,
obsoleteValue: null,
async () => await this.FetchClientEncryptionKeyPropertiesAsync(encryptionContainer, clientEncryptionKeyId, requestOptions, cancellationToken),
cancellationToken,
forceRefresh: shouldForceRefresh);
cacheKey,
obsoleteValue: null,
async () => await this.FetchClientEncryptionKeyPropertiesAsync(encryptionContainer, clientEncryptionKeyId, requestOptions, cancellationToken),
cancellationToken,
forceRefresh: shouldForceRefresh);
}

private async Task<ClientEncryptionKeyProperties> FetchClientEncryptionKeyPropertiesAsync(
Expand Down