Skip to content

Commit 7561277

Browse files
authored
[Key Vault] Prepare for data-plane library releases (#34409)
1 parent a1bb8fc commit 7561277

File tree

13 files changed

+32
-39
lines changed

13 files changed

+32
-39
lines changed

sdk/keyvault/azure-keyvault-administration/CHANGELOG.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
# Release History
22

3-
## 4.4.0b3 (Unreleased)
3+
## 4.4.0 (2024-02-22)
44

55
### Features Added
66
- Added support for service API version `7.5`
7-
8-
### Breaking Changes
7+
- (From 4.4.0b2) `KeyVaultBackupClient.begin_backup` and `KeyVaultBackupClient.begin_restore` now accept a
8+
`use_managed_identity` keyword-only argument to enable authentication via Managed Identity
99

1010
### Bugs Fixed
11+
- (From 4.4.0b1) Token requests made during AD FS authentication no longer specify an erroneous "adfs" tenant ID
12+
([#29888](https://github.com/Azure/azure-sdk-for-python/issues/29888))
1113

1214
### Other Changes
1315
- Python 3.7 is no longer supported. Please use Python version 3.8 or later.

sdk/keyvault/azure-keyvault-administration/azure/keyvault/administration/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# Licensed under the MIT License.
44
# ------------------------------------
55

6-
VERSION = "4.4.0b3"
6+
VERSION = "4.4.0"

sdk/keyvault/azure-keyvault-administration/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/keyvault/azure-keyvault-administration",
4646
keywords="azure, azure sdk",
4747
classifiers=[
48-
"Development Status :: 4 - Beta",
48+
"Development Status :: 5 - Production/Stable",
4949
"Programming Language :: Python",
5050
"Programming Language :: Python :: 3 :: Only",
5151
"Programming Language :: Python :: 3",

sdk/keyvault/azure-keyvault-certificates/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Release History
22

3-
## 4.8.0b4 (Unreleased)
3+
## 4.8.0 (2024-02-22)
44

55
### Features Added
66
- Added support for service API version `7.5`
@@ -11,6 +11,8 @@
1111
`CertificateProperties.x509_thumbprint.hex()` or print the `CertificateProperties` instance.
1212

1313
### Bugs Fixed
14+
- (From 4.8.0b1) Token requests made during AD FS authentication no longer specify an erroneous "adfs" tenant ID
15+
([#29888](https://github.com/Azure/azure-sdk-for-python/issues/29888))
1416

1517
### Other Changes
1618
- Python 3.7 is no longer supported. Please use Python version 3.8 or later.

sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# Licensed under the MIT License.
44
# ------------------------------------
55

6-
VERSION = "4.8.0b4"
6+
VERSION = "4.8.0"

sdk/keyvault/azure-keyvault-certificates/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/keyvault/azure-keyvault-certificates",
4646
keywords="azure, azure sdk",
4747
classifiers=[
48-
"Development Status :: 4 - Beta",
48+
"Development Status :: 5 - Production/Stable",
4949
"Programming Language :: Python",
5050
"Programming Language :: Python :: 3 :: Only",
5151
"Programming Language :: Python :: 3",

sdk/keyvault/azure-keyvault-keys/CHANGELOG.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
# Release History
22

3-
## 4.9.0b4 (Unreleased)
3+
## 4.9.0 (2024-02-22)
44

55
### Features Added
66
- Added support for service API version `7.5`
7-
8-
### Breaking Changes
7+
- (From 4.9.0b2) The `cryptography` library's `RSAPrivateKey` and `RSAPublicKey` interfaces are now implemented by
8+
`KeyVaultRSAPrivateKey` and `KeyVaultRSAPublicKey` classes that can use keys managed by Key Vault
9+
- (From 4.9.0b2) `CryptographyClient` has `create_rsa_private_key` and `create_rsa_public_key` methods that return a
10+
`KeyVaultRSAPrivateKey` and `KeyVaultRSAPublicKey`, respectively
11+
- (From 4.9.0b3) Added `KeyProperties.hsm_platform` to get the underlying HSM platform
912

1013
### Bugs Fixed
14+
- (From 4.9.0b1) Token requests made during AD FS authentication no longer specify an erroneous "adfs" tenant ID
15+
([#29888](https://github.com/Azure/azure-sdk-for-python/issues/29888))
1116

1217
### Other Changes
1318
- Python 3.7 is no longer supported. Please use Python version 3.8 or later.

sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# Licensed under the MIT License.
44
# ------------------------------------
55

6-
VERSION = "4.9.0b4"
6+
VERSION = "4.9.0"

sdk/keyvault/azure-keyvault-keys/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/keyvault/azure-keyvault-keys",
4646
keywords="azure, azure sdk",
4747
classifiers=[
48-
"Development Status :: 4 - Beta",
48+
"Development Status :: 5 - Production/Stable",
4949
"Programming Language :: Python",
5050
"Programming Language :: Python :: 3 :: Only",
5151
"Programming Language :: Python :: 3",

sdk/keyvault/azure-keyvault-secrets/CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Release History
22

3-
## 4.8.0b3 (Unreleased)
3+
## 4.8.0 (2024-02-22)
44

55
### Features Added
66
- Added support for service API version `7.5`
77

8-
### Breaking Changes
9-
108
### Bugs Fixed
9+
- (From 4.8.0b1) Token requests made during AD FS authentication no longer specify an erroneous "adfs" tenant ID
10+
([#29888](https://github.com/Azure/azure-sdk-for-python/issues/29888))
1111

1212
### Other Changes
1313
- Python 3.7 is no longer supported. Please use Python version 3.8 or later.

sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_models.py

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,12 @@
1111

1212

1313
class SecretProperties(object):
14-
"""A secret's ID and attributes.
15-
16-
:param attributes: The secret's attributes.
17-
:type attributes: ~azure.keyvault.secrets._generated.models.SecretAttributes
18-
:param secret_id: The secret's ID.
19-
:type secret_id: str or None
20-
21-
:keyword str content_type: The content type of the secret.
22-
:keyword str key_id: If this is a secret backing a KV certificate, then this field specifies the corresponding key
23-
backing the certificate.
24-
:keyword bool managed: True if the secret's lifetime is managed by Key Vault. If this secret is backing a
25-
certificate, this will be True.
26-
:keyword tags: Application specific metadata in the form of key-value pairs.
27-
:paramtype tags: dict[str, str] or None
28-
"""
14+
"""A secret's ID and attributes."""
2915

30-
def __init__(
31-
self, attributes: Optional[_models.SecretAttributes], secret_id: Optional[str], **kwargs: Any
32-
) -> None:
33-
self._attributes = attributes
34-
self._id = secret_id
35-
self._vault_id = KeyVaultSecretIdentifier(secret_id) if secret_id else None
16+
def __init__(self, *args: Any, **kwargs: Any) -> None:
17+
self._attributes: Optional[_models.SecretAttributes] = args[0] if args else kwargs.get("attributes", None)
18+
self._id: Optional[str] = args[1] if len(args) > 1 else kwargs.get("vault_id", None)
19+
self._vault_id = KeyVaultSecretIdentifier(self._id) if self._id else None
3620
self._content_type = kwargs.get("content_type", None)
3721
self._key_id = kwargs.get("key_id", None)
3822
self._managed = kwargs.get("managed", None)

sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# Licensed under the MIT License.
44
# ------------------------------------
55

6-
VERSION = "4.8.0b3"
6+
VERSION = "4.8.0"

sdk/keyvault/azure-keyvault-secrets/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/keyvault/azure-keyvault-secrets",
4646
keywords="azure, azure sdk",
4747
classifiers=[
48-
"Development Status :: 4 - Beta",
48+
"Development Status :: 5 - Production/Stable",
4949
"Programming Language :: Python",
5050
"Programming Language :: Python :: 3 :: Only",
5151
"Programming Language :: Python :: 3",

0 commit comments

Comments
 (0)