Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions sdk/keyvault/azure-keyvault-keys/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

### Features Added

### Breaking Changes

### Bugs Fixed
- Added support for service API version `2026-03-01-preview`

### Other Changes

- Key Vault API version `2026-03-01-preview` is now the default
Comment thread
nnoboa marked this conversation as resolved.

## 4.12.0b1 (2026-05-26)

### Features Added
Expand Down
10 changes: 7 additions & 3 deletions sdk/keyvault/azure-keyvault-keys/_metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"apiVersion": "2026-01-01-preview",
"apiVersion": "2026-03-01-preview",
"apiVersions": {
"KeyVault": "2026-01-01-preview"
}
"KeyVault": "2026-03-01-preview"
},
"commit": "9dd262c196cd5d27bb01a6bf4d645d9c89cc0f02",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"typespec_src": "specification/keyvault/data-plane/Keys",
"emitterVersion": "0.62.1"
}
2 changes: 1 addition & 1 deletion sdk/keyvault/azure-keyvault-keys/apiview-properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,5 @@
"azure.keyvault.keys._generated.KeyVaultClient.get_key_attestation": "KeyVault.getKeyAttestation",
"azure.keyvault.keys._generated.aio.KeyVaultClient.get_key_attestation": "KeyVault.getKeyAttestation"
},
"CrossLanguageVersion": "8246843b8f9d"
"CrossLanguageVersion": "8968be7e39f1"
}
2 changes: 1 addition & 1 deletion sdk/keyvault/azure-keyvault-keys/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "python",
"TagPrefix": "python/keyvault/azure-keyvault-keys",
"Tag": "python/keyvault/azure-keyvault-keys_e47dc10e22"
"Tag": "python/keyvault/azure-keyvault-keys_533efe50f4"
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class KeyVaultClient(_KeyVaultClientOperationsMixin):
:param credential: Credential used to authenticate requests to the service. Required.
:type credential: ~azure.core.credentials.TokenCredential
:keyword api_version: The API version to use for this operation. Known values are
"2026-01-01-preview" and None. Default value is None. If not set, the operation's default API
"2026-03-01-preview" and None. Default value is None. If not set, the operation's default API
version will be used. Note that overriding this default value may result in unsupported
behavior.
Comment thread
nnoboa marked this conversation as resolved.
:paramtype api_version: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ class KeyVaultClientConfiguration: # pylint: disable=too-many-instance-attribut
:param credential: Credential used to authenticate requests to the service. Required.
:type credential: ~azure.core.credentials.TokenCredential
:keyword api_version: The API version to use for this operation. Known values are
"2026-01-01-preview" and None. Default value is None. If not set, the operation's default API
"2026-03-01-preview" and None. Default value is None. If not set, the operation's default API
version will be used. Note that overriding this default value may result in unsupported
behavior.
:paramtype api_version: str
"""

def __init__(self, vault_base_url: str, credential: "TokenCredential", **kwargs: Any) -> None:
api_version: str = kwargs.pop("api_version", "2026-01-01-preview")
api_version: str = kwargs.pop("api_version", "2026-03-01-preview")
Comment thread
nnoboa marked this conversation as resolved.

if vault_base_url is None:
raise ValueError("Parameter 'vault_base_url' must not be None.")
Expand Down
Loading
Loading