Skip to content

Commit

Permalink
Key Vault preparation for GA. (Azure#22378)
Browse files Browse the repository at this point in the history
* Updated CHANGELOGs and READMEs.

* Updated versions
  • Loading branch information
vcolin7 authored Jun 18, 2021
1 parent 1c787cd commit 9b15462
Show file tree
Hide file tree
Showing 17 changed files with 84 additions and 45 deletions.
8 changes: 4 additions & 4 deletions eng/jacoco-test-coverage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -249,22 +249,22 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-administration</artifactId>
<version>4.0.0-beta.8</version> <!-- {x-version-update;com.azure:azure-security-keyvault-administration;current} -->
<version>4.0.0</version> <!-- {x-version-update;com.azure:azure-security-keyvault-administration;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-certificates</artifactId>
<version>4.2.0-beta.7</version> <!-- {x-version-update;com.azure:azure-security-keyvault-certificates;current} -->
<version>4.2.0</version> <!-- {x-version-update;com.azure:azure-security-keyvault-certificates;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-keys</artifactId>
<version>4.3.0-beta.9</version> <!-- {x-version-update;com.azure:azure-security-keyvault-keys;current} -->
<version>4.3.0</version> <!-- {x-version-update;com.azure:azure-security-keyvault-keys;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-secrets</artifactId>
<version>4.3.0-beta.7</version> <!-- {x-version-update;com.azure:azure-security-keyvault-secrets;current} -->
<version>4.3.0</version> <!-- {x-version-update;com.azure:azure-security-keyvault-secrets;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
Expand Down
8 changes: 4 additions & 4 deletions eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,12 @@ com.azure:azure-search-documents;11.4.0;11.5.0-beta.1
com.azure:azure-search-perf;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-security-attestation;1.0.0-beta.1;1.0.0-beta.2
com.azure:azure-security-confidentialledger;1.0.0-beta.2;1.0.0-beta.3
com.azure:azure-security-keyvault-administration;4.0.0-beta.7;4.0.0-beta.8
com.azure:azure-security-keyvault-certificates;4.1.8;4.2.0-beta.7
com.azure:azure-security-keyvault-administration;4.0.0-beta.7;4.0.0
com.azure:azure-security-keyvault-certificates;4.1.8;4.2.0
com.azure:azure-security-keyvault-jca;1.0.0-beta.7;1.0.0-beta.8
com.azure:azure-security-test-keyvault-jca;1.0.0;1.0.0
com.azure:azure-security-keyvault-keys;4.2.8;4.3.0-beta.9
com.azure:azure-security-keyvault-secrets;4.2.8;4.3.0-beta.7
com.azure:azure-security-keyvault-keys;4.2.8;4.3.0
com.azure:azure-security-keyvault-secrets;4.2.8;4.3.0
com.azure:azure-security-keyvault-perf;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-sdk-template;1.2.1-beta.2;1.2.1-beta.16
com.azure:azure-spring-data-cosmos;3.8.0;3.9.0-beta.1
Expand Down
6 changes: 3 additions & 3 deletions sdk/e2e/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,17 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-keys</artifactId>
<version>4.3.0-beta.9</version> <!-- {x-version-update;com.azure:azure-security-keyvault-keys;current} -->
<version>4.3.0</version> <!-- {x-version-update;com.azure:azure-security-keyvault-keys;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-secrets</artifactId>
<version>4.3.0-beta.7</version> <!-- {x-version-update;com.azure:azure-security-keyvault-secrets;current} -->
<version>4.3.0</version> <!-- {x-version-update;com.azure:azure-security-keyvault-secrets;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-certificates</artifactId>
<version>4.2.0-beta.7</version> <!-- {x-version-update;com.azure:azure-security-keyvault-certificates;current} -->
<version>4.2.0</version> <!-- {x-version-update;com.azure:azure-security-keyvault-certificates;current} -->
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand Down
24 changes: 19 additions & 5 deletions sdk/keyvault/azure-security-keyvault-administration/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,25 @@
# Release History

## 4.0.0-beta.8 (Unreleased)

### Bug Fixes
## 4.0.0 (2021-06-17)
- Initial release of `KeyVaultAccessControlClient` and `KeyVaultAccessControlAsyncClient` to managed role assignments and definitions for Managed HSM.
- Initial release of `KeyVaultBackupClient` and `KeyVaultBackupAsyncClient` to backup and restore Managed HSM.

### Features Added
- Changed default service version to `7.2`.
- Added `KeyVaultKeyIdentifier` to parse key URLs.
- Added local-only support for `CryptographyClient` and `CryptographyAsyncClient` by providing a `JsonWebKey` during client creation.
- Added `KeyType.OCT-HSM` to support oct-HSM key operations to support Managed HSM.
- Added the `CreateOctKeyOptions` class and associated `createOctKey()` methods.
- Added AES-GCM and AES-CBC support for encrypting and decrypting, including new `Encrypt` and `Decrypt` overloads.
- Added the ability to set a public exponent on RSA keys during creation.
- Made all getters for properties of a `JsonWebKey` public.

### Changes since 4.0.0-beta.7

#### Bug Fixes
- Ensured that `RetryPolicy` and `HttpLogOptions` use a default implementation when creating Key Vault clients if not set or set to `null`.

### Breaking Changes
#### Breaking Changes
- Renamed `beginSelectiveRestore()` to `beginSelectiveKeyRestore()` in `KeyVaultBackupClient` and `KeyVaultBackupAsyncClient`. Made the aforementioned operation return the new `KeyVaultSelectiveKeyRestoreOperation` instead of a `KeyVaultRestoreOperation`.
- Changed the final return type of `beginRestore()` and `beginSelectiveKeyRestore()`'s poller types from `Void` to the new `KeyVaultRestoreResult` and `KeyVaultSelectiveKeyRestoreResult`, respectively.
- `KeyVaultBackupClient` and `KeyVaultBackupAsyncClient`'s long-running operations now throw a `RuntimeException` when cancellation is attempted, as it is not currently supported.
Expand All @@ -15,7 +29,7 @@
- Removed `roleType` from `SetRoleDefinitionOptions`.
- Removed service method overloads that take a `pollingInterval`, since `PollerFlux` and `SyncPoller` objects allow for setting this value directly on them.
- Delete methods on the `KeyVaultAccessControlClient` now return a `void` or `Mono<Void>` and ignore HTTP `404`s.
- Renamed `jobId` and `getJobId()` to `operationId` and `getOperationId()` in `KeyVaultLongRunningOperation`.
- Renamed `jobId` and `getJobId()` to `operationId` and `getOperationId()` in `KeyVaultLongRunningOperation` and its children classes.
- Made the following classes `final`:
- `KeyVaultDataAction`
- `KeyVaultRoleDefinitionType`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Maven dependency for the Azure Key Vault Administration library. Add it to your
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-administration</artifactId>
<version>4.0.0-beta.7</version>
<version>4.0.0</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-administration</artifactId>
<version>4.0.0-beta.8</version> <!-- {x-version-update;com.azure:azure-security-keyvault-administration;current} -->
<version>4.0.0</version> <!-- {x-version-update;com.azure:azure-security-keyvault-administration;current} -->

<name>Microsoft Azure client library for KeyVault Administration</name>
<description>This module contains client library for Microsoft Azure KeyVault Administration.</description>
Expand Down
16 changes: 11 additions & 5 deletions sdk/keyvault/azure-security-keyvault-certificates/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
# Release History

## 4.2.0-beta.7 (Unreleased)
## 4.2.0 (2021-06-17)

### Bug Fixes
### Features Added
- Changed default service version to `7.2`.
- Added `KeyVaultCertificateIdentifier` to parse certificate URLs.

### Changes since 4.2.0-beta.6

#### Bug Fixes
- Ensured that `RetryPolicy` and `HttpLogOptions` use a default implementation when creating Key Vault clients if not set or set to `null`.

### New Features
#### New Features
- `KeyVaultCertificateIdentifier` can now be used to parse any Key Vault identifier.

### Breaking Changes
#### Breaking Changes
- Removed service method overloads that take a `pollingInterval`, since `PollerFlux` and `SyncPoller` objects allow for setting this value directly on them.

### Non-Breaking Changes
#### Non-Breaking Changes
- Renamed `certificateId` to `sourceId` in `KeyVaultCertificateIdentifier`.
- Added the `@ServiceMethod` annotation to all public methods that call the Key Vault service in `CertificateClient` and `CertificateAsyncClient`.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Maven dependency for the Azure Key Vault Certificate client library. Add it to y
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-certificates</artifactId>
<version>4.2.0-beta.6</version>
<version>4.2.0</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/azure-security-keyvault-certificates/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-certificates</artifactId>
<version>4.2.0-beta.7</version> <!-- {x-version-update;com.azure:azure-security-keyvault-certificates;current} -->
<version>4.2.0</version> <!-- {x-version-update;com.azure:azure-security-keyvault-certificates;current} -->

<name>Microsoft Azure client library for KeyVault Certificates</name>
<description>This module contains client library for Microsoft Azure KeyVault Certificates.</description>
Expand Down
23 changes: 18 additions & 5 deletions sdk/keyvault/azure-security-keyvault-keys/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,36 @@
# Release History

## 4.3.0-beta.9 (Unreleased)
## 4.3.0 (2021-06-17)

### Bug Fixes
### Features Added
- Changed default service version to `7.2`.
- Added `KeyVaultKeyIdentifier` to parse key URLs.
- Added local-only support for `CryptographyClient` and `CryptographyAsyncClient` by providing a `JsonWebKey` during client creation.
- Added `KeyType.OCT-HSM` to support oct-HSM key operations to support Managed HSM.
- Added the `CreateOctKeyOptions` class and associated `createOctKey()` methods.
- Added AES-GCM and AES-CBC support for encrypting and decrypting, including new `Encrypt` and `Decrypt` overloads.
- Added the ability to set a public exponent on RSA keys during creation.
- Made all getters for properties of a `JsonWebKey` public.

### Changes since 4.3.0-beta.8

#### Bug Fixes
- Ensured that `RetryPolicy` and `HttpLogOptions` use a default implementation when creating Key Vault clients if not set or set to `null`.

### New Features
#### New Features
- Added `createOctKey()` and `createOctKeyWithResponse()` to `KeyClient` and `KeyAsyncClient`.
- Added factory methods for RSA algorithms in `DecryptParameters` and `EncryptParameters`:
- `createRsa15Parameters()`
- `createRsaOaepParameters()`
- `createRsaOaep256Parameters()`

### Breaking Changes
#### Breaking Changes
- Removed `EXPORT` from the `KeyOperation` enum.
- Re-ordered parameters in the `EncryptResult` constructor to show `authenticationTag` before `additionalAuthenticatedData` to align with classes like `DecryptParameters`.
- Removed service method overloads that take a `pollingInterval`, since `PollerFlux` and `SyncPoller` objects allow for setting this value directly on them.
- Moved `EncryptParameters` and `DecryptParameters` from the `cryptography` package to the `cryptography.models` package and made them both `final`.

### Non-Breaking Changes
#### Non-Breaking
- Renamed `keyId` to `sourceId` in `KeyVaultKeyIdentifier`.
- `KeyVaultKeyIdentifier` can now be used to parse any Key Vault identifier.
- Added the `@ServiceMethod` annotation to all public methods that call the Key Vault service in `KeyClient`, `KeyAsyncClient`, `CryptographyClient` and `CryptographyAsyncClient`.
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/azure-security-keyvault-keys/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Maven dependency for the Azure Key Vault Key client library. Add it to your proj
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-keys</artifactId>
<version>4.3.0-beta.8</version>
<version>4.3.0</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/azure-security-keyvault-keys/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-keys</artifactId>
<version>4.3.0-beta.9</version> <!-- {x-version-update;com.azure:azure-security-keyvault-keys;current} -->
<version>4.3.0</version> <!-- {x-version-update;com.azure:azure-security-keyvault-keys;current} -->

<name>Microsoft Azure client library for KeyVault Keys</name>
<description>This module contains client library for Microsoft Azure KeyVault Keys.</description>
Expand Down
6 changes: 3 additions & 3 deletions sdk/keyvault/azure-security-keyvault-perf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-certificates</artifactId>
<version>4.2.0-beta.7</version> <!-- {x-version-update;com.azure:azure-security-keyvault-certificates;current} -->
<version>4.2.0</version> <!-- {x-version-update;com.azure:azure-security-keyvault-certificates;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-keys</artifactId>
<version>4.3.0-beta.9</version> <!-- {x-version-update;com.azure:azure-security-keyvault-keys;current} -->
<version>4.3.0</version> <!-- {x-version-update;com.azure:azure-security-keyvault-keys;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-secrets</artifactId>
<version>4.3.0-beta.7</version> <!-- {x-version-update;com.azure:azure-security-keyvault-secrets;current} -->
<version>4.3.0</version> <!-- {x-version-update;com.azure:azure-security-keyvault-secrets;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
Expand Down
14 changes: 10 additions & 4 deletions sdk/keyvault/azure-security-keyvault-secrets/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
# Release History

## 4.3.0-beta.7 (Unreleased)
## 4.3.0 (2021-06-17)

### Bug Fixes
### Features Added
- Changed default service version to `7.2`.
- Added `KeyVaultSecretIdentifier` to parse secret URLs.

### Changes since 4.3.0-beta.6

#### Bug Fixes
- Ensured that `RetryPolicy` and `HttpLogOptions` use a default implementation when creating Key Vault clients if not set or set to `null`.

### Breaking Changes
#### Breaking Changes
- Removed service method overloads that take a `pollingInterval`, since `PollerFlux` and `SyncPoller` objects allow for setting this value directly on them.

### Non-Breaking Changes
#### Non-Breaking Changes
- Renamed `secretId` to `sourceId` in `KeyVaultSecretIdentifier`.
- `KeyVaultSecretIdentifier` can now be used to parse any Key Vault identifier.
- Added the `@ServiceMethod` annotation to all public methods that call the Key Vault service in `SecretClient` and `SecretAsyncClient`.
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/azure-security-keyvault-secrets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Maven dependency for the Azure Key Vault Secrets client library. Add it to your
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-secrets</artifactId>
<version>4.3.0-beta.6</version>
<version>4.3.0</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/azure-security-keyvault-secrets/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-secrets</artifactId>
<version>4.3.0-beta.7</version> <!-- {x-version-update;com.azure:azure-security-keyvault-secrets;current} -->
<version>4.3.0</version> <!-- {x-version-update;com.azure:azure-security-keyvault-secrets;current} -->

<name>Microsoft Azure client library for KeyVault Secrets</name>
<description>This module contains client library for Microsoft Azure KeyVault Secrets.</description>
Expand Down
8 changes: 4 additions & 4 deletions sdk/keyvault/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,22 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-administration</artifactId>
<version>4.0.0-beta.8</version> <!-- {x-version-update;com.azure:azure-security-keyvault-administration;current} -->
<version>4.0.0</version> <!-- {x-version-update;com.azure:azure-security-keyvault-administration;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-certificates</artifactId>
<version>4.2.0-beta.7</version> <!-- {x-version-update;com.azure:azure-security-keyvault-certificates;current} -->
<version>4.2.0</version> <!-- {x-version-update;com.azure:azure-security-keyvault-certificates;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-keys</artifactId>
<version>4.3.0-beta.9</version> <!-- {x-version-update;com.azure:azure-security-keyvault-keys;current} -->
<version>4.3.0</version> <!-- {x-version-update;com.azure:azure-security-keyvault-keys;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-secrets</artifactId>
<version>4.3.0-beta.7</version> <!-- {x-version-update;com.azure:azure-security-keyvault-secrets;current} -->
<version>4.3.0</version> <!-- {x-version-update;com.azure:azure-security-keyvault-secrets;current} -->
</dependency>
</dependencies>

Expand Down

0 comments on commit 9b15462

Please sign in to comment.