This commit is contained in:
azure-sdk 2024-07-30 01:09:21 +00:00
Родитель 0f2e3f684e
Коммит fa8cb9d487
2 изменённых файлов: 11 добавлений и 10 удалений

Просмотреть файл

@ -1,12 +1,12 @@
---
title: Azure Key Vault Key client library for Java
keywords: Azure, java, SDK, API, azure-security-keyvault-keys, keyvault
ms.date: 11/10/2023
ms.date: 07/30/2024
ms.topic: reference
ms.devlang: java
ms.service: keyvault
---
# Azure Key Vault Key client library for Java - version 4.8.0-beta.1
# Azure Key Vault Key client library for Java - version 4.9.0-beta.1
Azure Key Vault is a cloud service that provides secure storage of keys for encrypting your data. Multiple keys, and multiple versions of the same key, can be kept in the Azure Key Vault. Cryptographic keys in Azure Key Vault are represented as [JSON Web Key [JWK]][jwk_specification] objects.
@ -19,7 +19,7 @@ The Azure Key Vault keys library client supports RSA keys and Elliptic Curve (EC
## Getting started
### Include the package
#### Include the BOM file
Please include the `azure-sdk-bom` to your project to take dependency on the General Availability (GA) version of the library. In the following snippet, replace the {bom_version_to_target} placeholder with the version number. To learn more about the BOM, see the [AZURE SDK BOM README](https://github.com/Azure/azure-sdk-for-java/blob/azure-security-keyvault-keys_4.8.0-beta.1/sdk/boms/azure-sdk-bom/README.md).
Please include the `azure-sdk-bom` to your project to take dependency on the General Availability (GA) version of the library. In the following snippet, replace the {bom_version_to_target} placeholder with the version number. To learn more about the BOM, see the [AZURE SDK BOM README](https://github.com/Azure/azure-sdk-for-java/blob/azure-security-keyvault-keys_4.9.0-beta.1/sdk/boms/azure-sdk-bom/README.md).
```xml
<dependencyManagement>
@ -54,13 +54,14 @@ If you want to take dependency on a particular version of the library that is no
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-keys</artifactId>
<version>4.8.0-beta.1</version>
<version>4.9.0-beta.1</version>
</dependency>
```
[//]: # ({x-version-update-end})
### Prerequisites
- A [Java Development Kit (JDK)][jdk_link], version 8 or later.
- Here are details about [Java 8 client compatibility with Azure Certificate Authority](https://learn.microsoft.com/azure/security/fundamentals/azure-ca-details?tabs=root-and-subordinate-cas-list#client-compatibility-for-public-pkis).
- An [Azure Subscription][azure_subscription].
- One of the following:
- An existing [Azure Key Vault][azure_keyvault]. If you need to create a key vault, you can do so in the Azure Portal by following the steps in [this document][azure_keyvault_portal]. Alternatively, you can use the Azure CLI by following the steps in [this document][azure_keyvault_cli].
@ -321,7 +322,7 @@ cryptoAsyncClient.encrypt(EncryptionAlgorithm.RSA_OAEP, plaintext)
```
## Troubleshooting
See our [troubleshooting guide](https://github.com/Azure/azure-sdk-for-java/blob/azure-security-keyvault-keys_4.8.0-beta.1/sdk/keyvault/azure-security-keyvault-keys/TROUBLESHOOTING.md) for details on how to diagnose various failure scenarios.
See our [troubleshooting guide](https://github.com/Azure/azure-sdk-for-java/blob/azure-security-keyvault-keys_4.9.0-beta.1/sdk/keyvault/azure-security-keyvault-keys/TROUBLESHOOTING.md) for details on how to diagnose various failure scenarios.
### General
Azure Key Vault Key clients raise exceptions. For example, if you try to retrieve a key after it is deleted a `404` error is returned, indicating the resource was not found. In the following snippet, the error is handled gracefully by catching the exception and displaying additional information about the error.
@ -357,7 +358,7 @@ When you submit a pull request, a CLA-bot will automatically determine whether y
This project has adopted the [Microsoft Open Source Code of Conduct][microsoft_code_of_conduct]. For more information see the Code of Conduct FAQ or contact <opencode@microsoft.com> with any additional questions or comments.
<!-- LINKS -->
[source_code]: https://github.com/Azure/azure-sdk-for-java/blob/azure-security-keyvault-keys_4.8.0-beta.1/sdk/keyvault/azure-security-keyvault-keys/src
[source_code]: https://github.com/Azure/azure-sdk-for-java/blob/azure-security-keyvault-keys_4.9.0-beta.1/sdk/keyvault/azure-security-keyvault-keys/src
[api_documentation]: https://azure.github.io/azure-sdk-for-java
[azkeyvault_docs]: /azure/key-vault/
[azure_identity]: /java/api/overview/azure/identity-readme?view=azure-java-stable
@ -370,8 +371,8 @@ This project has adopted the [Microsoft Open Source Code of Conduct][microsoft_c
[default_azure_credential]: /java/api/overview/azure/identity-readme?view=azure-java-stable#defaultazurecredential
[managed_identity]: /azure/active-directory/managed-identities-azure-resources/overview
[azkeyvault_rest]: /rest/api/keyvault/
[keys_samples]: https://github.com/Azure/azure-sdk-for-java/blob/azure-security-keyvault-keys_4.8.0-beta.1/sdk/keyvault/azure-security-keyvault-keys/src/samples/java/com/azure/security/keyvault/keys
[samples_readme]: https://github.com/Azure/azure-sdk-for-java/blob/azure-security-keyvault-keys_4.8.0-beta.1/sdk/keyvault/azure-security-keyvault-keys/src/samples/README.md
[keys_samples]: https://github.com/Azure/azure-sdk-for-java/blob/azure-security-keyvault-keys_4.9.0-beta.1/sdk/keyvault/azure-security-keyvault-keys/src/samples/java/com/azure/security/keyvault/keys
[samples_readme]: https://github.com/Azure/azure-sdk-for-java/blob/azure-security-keyvault-keys_4.9.0-beta.1/sdk/keyvault/azure-security-keyvault-keys/src/samples/README.md
[performance_tuning]: https://github.com/Azure/azure-sdk-for-java/wiki/Performance-Tuning
[jdk_link]: /java/azure/jdk/?view=azure-java-stable
[jwk_specification]: https://tools.ietf.org/html/rfc7517

Просмотреть файл

@ -1,6 +1,6 @@
{
"Name": "azure-security-keyvault-keys",
"Version": "4.8.0-beta.1",
"Version": "4.9.0-beta.1",
"DevVersion": null,
"DirectoryPath": "sdk/keyvault/azure-security-keyvault-keys",
"ServiceDirectory": "keyvault",
@ -10,7 +10,7 @@
"SdkType": "client",
"IsNewSdk": true,
"ArtifactName": "azure-security-keyvault-keys",
"ReleaseStatus": "2023-11-09",
"ReleaseStatus": "2024-07-29",
"Namespaces": [
"com.azure.security.keyvault.keys",
"com.azure.security.keyvault.keys.cryptography",