-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Java client encryption with AAP #19218
Java client encryption with AAP #19218
Conversation
sdk/cosmos/azure-cosmos-encryption/src/main/java/com/azure/cosmos/EncryptionBridgeInternal.java
Outdated
Show resolved
Hide resolved
...smos/azure-cosmos-encryption/src/main/java/com/azure/cosmos/EncryptionCosmosAsyncClient.java
Outdated
Show resolved
Hide resolved
...smos/azure-cosmos-encryption/src/main/java/com/azure/cosmos/EncryptionCosmosAsyncClient.java
Outdated
Show resolved
Hide resolved
...s/azure-cosmos-encryption/src/main/java/com/azure/cosmos/EncryptionCosmosAsyncContainer.java
Outdated
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos-encryption/src/samples/java/com/azure/cosmos/Program.java
Outdated
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos-encryption/src/test/java/com/azure/cosmos/rx/TestSuiteBase.java
Outdated
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos-encryption/src/test/java/com/azure/cosmos/rx/TestSuiteBase.java
Outdated
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosAsyncClientEncryptionKey.java
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosAsyncDatabase.java
Outdated
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosAsyncClientEncryptionKey.java
Outdated
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/AsyncDocumentClient.java
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/Constants.java
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/ClientEncryptionKey.java
Outdated
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/PathsHelper.java
Outdated
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/models/ClientEncryptionIncludedPath.java
Outdated
Show resolved
Hide resolved
.../azure-cosmos/src/main/java/com/azure/cosmos/models/CosmosClientEncryptionKeyProperties.java
Outdated
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/models/CosmosContainerProperties.java
Outdated
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/models/EncryptionKeyWrapMetadata.java
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/models/ModelBridgeInternal.java
Outdated
Show resolved
Hide resolved
I assume the next 3 are also no longer used. Refers to: sdk/cosmos/azure-cosmos-encryption/src/main/java/com/azure/cosmos/encryption/implementation/EncryptionExceptionFactory.java:16 in b730734. [](commit_id = b730734, deletion_comment = False) |
We got rid of this on .net so people can just use the constant from the AAP library. Refers to: sdk/cosmos/azure-cosmos-encryption/src/main/java/com/azure/cosmos/encryption/models/CosmosEncryptionAlgorithm.java:10 in b730734. [](commit_id = b730734, deletion_comment = False) |
...cosmos-encryption/src/main/java/com/azure/cosmos/encryption/models/CosmosEncryptionType.java
Show resolved
Hide resolved
...cosmos-encryption/src/main/java/com/azure/cosmos/encryption/CosmosEncryptionAsyncClient.java
Show resolved
Hide resolved
...encryption/src/main/java/com/azure/cosmos/encryption/implementation/EncryptionProcessor.java
Outdated
Show resolved
Hide resolved
...encryption/src/main/java/com/azure/cosmos/encryption/implementation/EncryptionProcessor.java
Outdated
Show resolved
Hide resolved
...encryption/src/main/java/com/azure/cosmos/encryption/implementation/EncryptionProcessor.java
Outdated
Show resolved
Hide resolved
@@ -32,10 +32,18 @@ Licensed under the MIT License. | |||
<tag>HEAD</tag> | |||
</scm> | |||
|
|||
<repositories> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can I get a little more context on why we are using this blob feed? If we have something that we need to consume for our builds we should try and use our Azure Devops java feed. https://dev.azure.com/azure-sdk/public/_packaging?_a=feed&feed=azure-sdk-for-java
This PR is adding support for encryption/decryption on cosmos items with AAP library.
Public surface area discussion is pending , creating the PR to get things rolling.
There are three section which help in review this PR as it contains many file.
TODO:
Update[2/24] We will not have early load on a container in this PR , instead first item call will load the clientEncryptionKey and ClientEncryptionPolicy caches. We incorporate in future PR, if we feel the need
Sample for creating client -
Sample for creating encryption database and container