- Updated
msrest
requirement to >=0.6.0
- Moved optional parameters of two methods into kwargs (
docs
detail the new keyword arguments):
set_secret
now has positional parametersname
andvalue
update_secret_properties
now has positional parametersname
and (optional)version
- Renamed
list_secrets
tolist_properties_of_secrets
- Renamed
list_secret_versions
tolist_properties_of_secret_versions
- Renamed sync method
delete_secret
tobegin_delete_secret
- The sync method
begin_delete_secret
and asyncdelete_secret
now return pollers that return aDeletedSecret
- Renamed
Secret
toKeyVaultSecret
KeyVaultSecret
propertiescreated
,expires
, andupdated
renamed tocreated_on
,expires_on
, andupdated_on
- The
vault_endpoint
parameter ofSecretClient
has been renamed tovault_url
- The property
vault_endpoint
has been renamed tovault_url
in all models
Secret
now has attributeproperties
, which holds certain properties of the secret, such asversion
. This changes the shape of the returnedSecret
type, as certain properties ofSecret
(such asversion
) have to be accessed through theproperties
property. See the updated docs for details.update_secret
has been renamed toupdate_secret_properties
- The
vault_url
parameter ofSecretClient
has been renamed tovault_endpoint
- The property
vault_url
has been renamed tovault_endpoint
in all models
list_secrets
andlist_secret_versions
return the correct type
This release includes only internal changes.
- Removed
azure.core.Configuration
from the public API in preparation for a revamped configuration API. Staticcreate_config
methods have been renamed_create_config
, and will be removed in a future release. - This version of the library requires
azure-core
1.0.0b2- If you later want to revert to a version requiring azure-core 1.0.0b1,
of this or another Azure SDK library, you must explicitly install azure-core
1.0.0b1 as well. For example:
pip install azure-core==1.0.0b1 azure-keyvault-secrets==4.0.0b1
- If you later want to revert to a version requiring azure-core 1.0.0b1,
of this or another Azure SDK library, you must explicitly install azure-core
1.0.0b1 as well. For example:
- Distributed tracing framework OpenCensus is now supported
- Added support for HTTP challenge based authentication, allowing clients to interact with vaults in sovereign clouds.
Version 4.0.0b1 is the first preview of our efforts to create a user-friendly and Pythonic client library for Azure Key Vault. For more information about preview releases of other Azure SDK libraries, please visit https://aka.ms/azure-sdk-preview1-python.
This library is not a direct replacement for azure-keyvault
. Applications
using that library would require code changes to use azure-keyvault-secrets
.
This package's
documentation
and
samples
demonstrate the new API.
- Packages scoped by functionality
azure-keyvault-secrets
contains a client for secret operations,azure-keyvault-keys
contains a client for key operations
- Client instances are scoped to vaults (an instance interacts with one vault only)
- Asynchronous API supported on Python 3.5.3+
- the
azure.keyvault.secrets.aio
namespace contains an async equivalent of the synchronous client inazure.keyvault.secrets
- the
- Authentication using
azure-identity
credentials- see this package's documentation , and the Azure Identity documentation for more information
- Certificate management APIs
- National cloud support. This release supports public global cloud vaults, e.g. https://{vault-name}.vault.azure.net