forked from Azure/azure-cosmos-dotnet-v3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Client Encryption: Adds code to support PartitionKey and Id encryptio…
…n. (Azure#3241) * support partition key and id encryption. * Update EncryptionContainer.cs * support hirarchical pk paths. * pk none and null checks. * Update MdeEncryptionTests.cs * Update EncryptionContainer.cs * Update EncryptionContainer.cs * updates * fixes. * fixes to handle container delete scenarios for PK mismatch. * Update MdeEncryptionTests.cs * Refactoring * Updated tests. * Update EncryptionProcessor.cs * Update QueryDefinitionExtensions.cs * Update EncryptionProcessor.cs * Updated cosmos version * Update Microsoft.Azure.Cosmos.Encryption.EmulatorTests.csproj * updated build prop and supported sdk version * Update Microsoft.Azure.Cosmos.Encryption.csproj * Update Microsoft.Azure.Cosmos.Encryption.EmulatorTests.csproj * Update Microsoft.Azure.Cosmos.Encryption.EmulatorTests.csproj * Update Microsoft.Azure.Cosmos.Encryption.EmulatorTests.csproj * Fixes * Fixed preview tests. * Fixes as per review comments. * Update EncryptionContainer.cs * Update EncryptionContainer.cs * Update EncryptionContainer.cs * fixes issue with nested PK path encryption. * Update changelog.md * Fixes. * Update EncryptionProcessor.cs * Update EncryptionProcessor.cs * Update MdeEncryptionTests.cs * Add preview flag for Encryption Emulator tests. * Update build-preview.yml * Update MdeEncryptionTests.cs * Update build-preview.yml * Update EncryptionProcessor.cs * Fixes * Update Microsoft.Azure.Cosmos.Encryption.EmulatorTests.csproj * Update Microsoft.Azure.Cosmos.Encryption.EmulatorTests.csproj * Update changelog.md * Update EncryptionContainer.cs * Update EncryptionProcessor.cs * fixes as per review comments. Fixed serializer used. * Update Microsoft.Azure.Cosmos.Encryption.csproj * Update build-preview.yml * updated build flags and preview test. * Fix test run check * Update Microsoft.Azure.Cosmos.Encryption.EmulatorTests.csproj * Fixed PK encryption in GetItemQueryStreamIterator feed range. * dispose clients in tests. * Update EncryptionProcessor.cs * move async calls from getqueryiterator to ReadNextAsync * fixes in ENCRYPTIONPREVIEW flagged code * Update EncryptionFeedIterator.cs * Update EncryptionFeedIterator.cs * Update EncryptionFeedIterator.cs
- Loading branch information
1 parent
08bdfce
commit 78fc16c
Showing
13 changed files
with
1,098 additions
and
235 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
340 changes: 267 additions & 73 deletions
340
Microsoft.Azure.Cosmos.Encryption/src/EncryptionContainer.cs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.