2019-10-31 4.0.0
Breaking changes:
- Removed
KeyClient.get_cryptography_client()
andCryptographyClient.get_key()
- Moved the optional parameters of several methods into kwargs (
docs
detail the new keyword arguments):create_key
now has positional parametersname
andkey_type
create_ec_key
andcreate_rsa_key
now have one positional parameter,name
update_key_properties
now has two positional parameters,name
and
(optional)version
import_key
now has positional parametersname
andkey
CryptographyClient
operations return class instances instead of tuples and renamed the following
properties- Renamed the
decrypted_bytes
property ofDecryptResult
toplaintext
- Renamed the
unwrapped_bytes
property ofUnwrapResult
tokey
- Renamed the
result
property ofVerifyResult
tois_valid
- Renamed the
- Renamed the
UnwrapKeyResult
andWrapKeyResult
classes toUnwrapResult
andWrapResult
- Renamed
list_keys
tolist_properties_of_keys
- Renamed
list_key_versions
tolist_properties_of_key_versions
- Renamed sync method
delete_key
tobegin_delete_key
- The sync method
begin_delete_key
and asyncdelete_key
now return pollers that return aDeletedKey
- Renamed
Key
toKeyVaultKey
KeyVaultKey
propertiescreated
,expires
, andupdated
renamed tocreated_on
,
expires_on
, andupdated_on
- The
vault_endpoint
parameter ofKeyClient
has been renamed tovault_url
- The property
vault_endpoint
has been renamed tovault_url
in all models
New features:
- Now all
CryptographyClient
returns includekey_id
andalgorithm
properties