-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added fallback logic to use service-side cryptography if a key cannot…
… be retrieved for local operations. (#38334) * Added fallback logic to use service-side cryptography if a key cannot be retrieved for local operations. * Updated CHANGELOG * Fixed issue. * Update sdk/keyvault/azure-security-keyvault-keys/CHANGELOG.md Co-authored-by: Heath Stewart <heaths@microsoft.com> * Improved error handling when receiving a 403 when fetching a key in the cryptography clients. * Refactored how we initialize local crypto clients to avoid using async APIs. * Fixed test issues and refactored internal local crypto clients. * Updated test recordings. * Fixed CheckStyle issues. * Applied more PR feedback. * Fixed a CheckStyle error. * Added CheckStyle suppressions. * Fixed NPE when using a local client. * Update pom.xml * Applied more PR feedback. * Fixed CheckStyle issue. * Applied more PR feedback. * Updated CheckStyle suppressions. * Updated code snippets. --------- Co-authored-by: Heath Stewart <heaths@microsoft.com>
- Loading branch information
Showing
11 changed files
with
844 additions
and
1,109 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
304 changes: 124 additions & 180 deletions
304
.../src/main/java/com/azure/security/keyvault/keys/cryptography/CryptographyAsyncClient.java
Large diffs are not rendered by default.
Oops, something went wrong.
345 changes: 157 additions & 188 deletions
345
...-keys/src/main/java/com/azure/security/keyvault/keys/cryptography/CryptographyClient.java
Large diffs are not rendered by default.
Oops, something went wrong.
451 changes: 198 additions & 253 deletions
451
...om/azure/security/keyvault/keys/cryptography/implementation/AesKeyCryptographyClient.java
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
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.