-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Cosmos v4 encryption #9984
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
Merged
Merged
Cosmos v4 encryption #9984
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
ea52d30
encryption draft
moderakh bfdceec
added sample code
moderakh 68a98c0
Merge branch 'master' into users/moderakh/v4-encryption-merge-master
moderakh e1452a4
undo changes for bom
moderakh 21e98da
encryption and storing key in cosmos container
moderakh ed26d12
minor cleanup
moderakh 91c5435
Merge branch 'master' into users/moderakh/merge-master-to-encryption
moderakh b13ee3a
minor cleanup
moderakh 408d76b
Merge branch 'master' into users/moderakh/encryption-20200618
moderakh d805672
Merge branch 'master' into feature/cosmos/v4-encryption
moderakh a05704f
added back removed files
moderakh d308e38
Merge branch 'master' into feature/cosmos/v4-encryption
moderakh ce4f3ea
address code review comments
moderakh 90db035
decrypt on write as well
moderakh 0e0ce5b
review comments
moderakh e43a3c7
code review
moderakh 7aca1fe
Merge branch 'master' into feature/cosmos/v4-encryption
moderakh d1ce16d
spotbug issues
moderakh d989e13
checkstyle rules
moderakh 811b035
fixed checkstyle
moderakh b7578b9
code style rule
moderakh 38226cc
infra update
moderakh 9fad903
Merge branch 'master' into feature/cosmos/v4-encryption
moderakh 903d43d
fixed typo
moderakh 590a810
fixed gate ci
moderakh 902acf8
pom file
moderakh 1efcf5b
dependency fix
moderakh bde97d0
code review
moderakh 9ea0a6e
removed bcprov-ext-jdk15on
moderakh 86d25ff
code review comment
moderakh ec628f6
code review comment addressed
moderakh f8d0a37
fixed version mismatch
moderakh 5e97dd8
code review comments
moderakh bf0829d
readme
moderakh de10a87
readme update
moderakh 1904fbd
readme update
moderakh bc87616
readme update
moderakh 89aa6ee
changelog added
moderakh 1a4b69f
readme update
moderakh 36e325e
one word
moderakh eea0781
readme verifier skip
moderakh cd8f025
run only unit tests in unit test phase
moderakh 3feb427
minor test fix
moderakh 6e97928
update
moderakh 5d21d9b
Merge branch 'master' into feature/cosmos/v4-encryption
moderakh f0175b6
version update
moderakh 17ba37d
fixed a few tests
moderakh ec27fbf
fixed test
moderakh d45fd99
fix NPE
moderakh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # Release History | ||
|
|
||
| # Release History | ||
| ## 1.0.0-beta.1 (Unreleased) | ||
|
|
||
|
|
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,69 @@ | ||
| # Azure CosmosDB client library for Java | ||
| TODO | ||
|
|
||
| ## Getting started | ||
| ### Include the package | ||
|
|
||
| [//]: # ({x-version-update-start;com.azure:azure-cosmos-encryption;current}) | ||
| ```xml | ||
| <dependency> | ||
| <groupId>com.azure</groupId> | ||
| <artifactId>azure-cosmos-encryption</artifactId> | ||
| <version>1.0.0-beta.1</version> | ||
| </dependency> | ||
| ``` | ||
| [//]: # ({x-version-update-end}) | ||
|
|
||
|
|
||
| ### Prerequisites | ||
| TODO | ||
|
|
||
| ## Key concepts | ||
| TODO | ||
|
|
||
| ## Examples | ||
| TODO | ||
|
|
||
| ## Troubleshooting | ||
| TODO | ||
|
|
||
| ## Next steps | ||
| TODO | ||
|
|
||
| ## Contributing | ||
|
|
||
| This project welcomes contributions and suggestions. Most contributions require you to agree to a | ||
| [Contributor License Agreement (CLA)][cla] declaring that you have the right to, and actually do, grant us the rights | ||
| to use your contribution. | ||
|
|
||
| When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate | ||
| the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to | ||
| do this once across all repos using our CLA. | ||
|
|
||
| This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For more information see the [Code of Conduct FAQ][coc_faq] | ||
| or contact [opencode@microsoft.com][coc_contact] with any additional questions or comments. | ||
|
|
||
| <!-- LINKS --> | ||
| [source_code]: src | ||
| [cosmos_introduction]: https://docs.microsoft.com/en-us/azure/cosmos-db/ | ||
| [api_documentation]: https://azuresdkdocs.blob.core.windows.net/$web/java/azure-cosmos/latest/index.html | ||
| [cosmos_docs]: https://docs.microsoft.com/en-us/azure/cosmos-db/introduction | ||
| [jdk]: https://docs.microsoft.com/java/azure/java-supported-jdk-runtime?view=azure-java-stable | ||
| [maven]: https://maven.apache.org/ | ||
| [cosmos_maven]: https://search.maven.org/artifact/com.azure/azure-cosmos | ||
| [cosmos_maven_svg]: https://img.shields.io/maven-central/v/com.azure/azure-cosmos.svg | ||
| [cla]: https://cla.microsoft.com | ||
| [coc]: https://opensource.microsoft.com/codeofconduct/ | ||
| [coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/ | ||
| [coc_contact]: mailto:opencode@microsoft.com | ||
| [azure_subscription]: https://azure.microsoft.com/free/ | ||
| [samples]: https://github.com/Azure-Samples/azure-cosmos-java-sql-api-samples | ||
| [samples_readme]: https://github.com/Azure-Samples/azure-cosmos-java-sql-api-samples/blob/master/README.md | ||
| [troubleshooting]: https://docs.microsoft.com/en-us/azure/cosmos-db/troubleshoot-java-sdk-v4-sql | ||
| [perf_guide]: https://docs.microsoft.com/en-us/azure/cosmos-db/performance-tips-java-sdk-v4-sql?tabs=api-async | ||
| [sql_api_query]: https://docs.microsoft.com/en-us/azure/cosmos-db/sql-api-sql-query | ||
| [getting_started]: https://github.com/Azure-Samples/azure-cosmos-java-getting-started | ||
| [quickstart]: https://docs.microsoft.com/en-us/azure/cosmos-db/create-sql-api-java?tabs=sync | ||
| [project_reactor_schedulers]: https://projectreactor.io/docs/core/release/api/reactor/core/scheduler/Schedulers.html | ||
|
|
||
|  | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.