KeyVaultManagementClient Class
The Azure management API provides a RESTful set of web services that interact with Azure Key Vault.
This ready contains multiple API versions, to help you deal with all of the Azure clouds (Azure Stack, Azure Government, Azure China, etc.). By default, it uses the latest API version available on public Azure. For production, you should stick to a particular api-version and/or profile. The profile sets a mapping between an operation group and its API version. The api-version parameter sets the default API version if the operation group is not described in the profile.
- Inheritance
-
KeyVaultManagementClientazure.mgmt.keyvault._key_vault_management_client._SDKClientKeyVaultManagementClient
Constructor
KeyVaultManagementClient(credential: TokenCredential, subscription_id: str, api_version: str | None = None, base_url: str = 'https://management.azure.com', profile: KnownProfiles = KnownProfiles.default, **kwargs: Any)
Parameters
Name | Description |
---|---|
credential
Required
|
Credential needed for the client to connect to Azure. Required. |
subscription_id
Required
|
Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. Required. |
api_version
|
API version to use if no profile is provided, or if missing in profile. Default value: None
|
base_url
|
Service URL Default value: https://management.azure.com
|
profile
|
A profile definition, from KnownProfiles to dict. Default value: KnownProfiles.default
|
Keyword-Only Parameters
Name | Description |
---|---|
polling_interval
|
Default waiting time between two polls for LRO operations if no Retry-After header is present. |
Methods
close | |
models |
Module depends on the API version: |
close
close()
models
Module depends on the API version:
2016-10-01: models
2018-02-14: models
2019-09-01: models
2020-04-01-preview: models
2021-04-01-preview: models
2021-06-01-preview: models
2021-10-01: models
2022-07-01: models
2023-02-01: models
2023-07-01: models
models(api_version='2023-07-01')
Parameters
Name | Description |
---|---|
api_version
|
Default value: 2023-07-01
|
Attributes
keys
Instance depends on the API version:
2019-09-01: KeysOperations
2020-04-01-preview: KeysOperations
2021-06-01-preview: KeysOperations
2021-10-01: KeysOperations
2022-07-01: KeysOperations
2023-02-01: KeysOperations
2023-07-01: KeysOperations
managed_hsm_keys
Instance depends on the API version:
2023-02-01: ManagedHsmKeysOperations
2023-07-01: ManagedHsmKeysOperations
managed_hsms
Instance depends on the API version:
2020-04-01-preview: ManagedHsmsOperations
2021-04-01-preview: ManagedHsmsOperations
2021-06-01-preview: ManagedHsmsOperations
2021-10-01: ManagedHsmsOperations
2022-07-01: ManagedHsmsOperations
2023-02-01: ManagedHsmsOperations
2023-07-01: ManagedHsmsOperations
mhsm_private_endpoint_connections
Instance depends on the API version:
2021-04-01-preview: MHSMPrivateEndpointConnectionsOperations
2021-06-01-preview: MHSMPrivateEndpointConnectionsOperations
2021-10-01: MHSMPrivateEndpointConnectionsOperations
2022-07-01: MHSMPrivateEndpointConnectionsOperations
2023-02-01: MHSMPrivateEndpointConnectionsOperations
2023-07-01: MHSMPrivateEndpointConnectionsOperations
mhsm_private_link_resources
Instance depends on the API version:
2021-04-01-preview: MHSMPrivateLinkResourcesOperations
2021-06-01-preview: MHSMPrivateLinkResourcesOperations
2021-10-01: MHSMPrivateLinkResourcesOperations
2022-07-01: MHSMPrivateLinkResourcesOperations
2023-02-01: MHSMPrivateLinkResourcesOperations
2023-07-01: MHSMPrivateLinkResourcesOperations
mhsm_regions
Instance depends on the API version:
2023-02-01: MHSMRegionsOperations
2023-07-01: MHSMRegionsOperations
operations
Instance depends on the API version:
2016-10-01: Operations
2018-02-14: Operations
2019-09-01: Operations
2020-04-01-preview: Operations
2021-04-01-preview: Operations
2021-06-01-preview: Operations
2021-10-01: Operations
2022-07-01: Operations
2023-02-01: Operations
2023-07-01: Operations
private_endpoint_connections
Instance depends on the API version:
2018-02-14: PrivateEndpointConnectionsOperations
2019-09-01: PrivateEndpointConnectionsOperations
2020-04-01-preview: PrivateEndpointConnectionsOperations
2021-04-01-preview: PrivateEndpointConnectionsOperations
2021-06-01-preview: PrivateEndpointConnectionsOperations
2021-10-01: PrivateEndpointConnectionsOperations
2022-07-01: PrivateEndpointConnectionsOperations
2023-02-01: PrivateEndpointConnectionsOperations
2023-07-01: PrivateEndpointConnectionsOperations
private_link_resources
Instance depends on the API version:
2018-02-14: PrivateLinkResourcesOperations
2019-09-01: PrivateLinkResourcesOperations
2020-04-01-preview: PrivateLinkResourcesOperations
2021-04-01-preview: PrivateLinkResourcesOperations
2021-06-01-preview: PrivateLinkResourcesOperations
2021-10-01: PrivateLinkResourcesOperations
2022-07-01: PrivateLinkResourcesOperations
2023-02-01: PrivateLinkResourcesOperations
2023-07-01: PrivateLinkResourcesOperations
secrets
Instance depends on the API version:
2020-04-01-preview: SecretsOperations
2021-06-01-preview: SecretsOperations
2021-10-01: SecretsOperations
2022-07-01: SecretsOperations
2023-02-01: SecretsOperations
2023-07-01: SecretsOperations
vaults
Instance depends on the API version:
2016-10-01: VaultsOperations
2018-02-14: VaultsOperations
2019-09-01: VaultsOperations
2020-04-01-preview: VaultsOperations
2021-04-01-preview: VaultsOperations
2021-06-01-preview: VaultsOperations
2021-10-01: VaultsOperations
2022-07-01: VaultsOperations
2023-02-01: VaultsOperations
2023-07-01: VaultsOperations
DEFAULT_API_VERSION
DEFAULT_API_VERSION = '2023-07-01'
LATEST_PROFILE
LATEST_PROFILE = azure.mgmt.keyvault.KeyVaultManagementClient latest
Azure SDK for Python