Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
.. image:: https://travis-ci.org/Azure/msrestazure-for-python.svg?branch=master :target: https://travis-ci.org/Azure/msrestazure-for-python
.. image:: https://codecov.io/gh/azure/msrestazure-for-python/branch/master/graph/badge.svg :target: https://codecov.io/gh/azure/msrestazure-for-python
This package is deprecated and no longer receives updates
azure-identity <https://pypi.org/project/azure-identity/>
_azure-mgmt-core <https://pypi.org/project/azure-mgmt-core/>
_As such, we will no longer accept PR and fix issues on this project.
To install:
.. code-block:: bash
$ pip install msrestazure
2020-06-29 Version 0.6.4 ++++++++++++++++++++++++
Bugfix
2020-03-17 Version 0.6.3 ++++++++++++++++++++++++
Bugfix
Features
Thanks to @psignoret and @tirkarthi for his contribution
2019-09-16 Version 0.6.2 ++++++++++++++++++++++++
Bugfix
2019-06-10 Version 0.6.1 ++++++++++++++++++++++++
Features
Thanks to @noelbundick for his contribution
2018-12-17 Version 0.6.0 ++++++++++++++++++++++++
Features
Disclaimer
Thanks to @gison93 for his documentation contribution
2018-11-01 Version 0.5.1 ++++++++++++++++++++++++
Bugfixes
Features
2018-08-02 Version 0.5.0 ++++++++++++++++++++++++
Features
Breaking changes
These breaking changes applies to ServicePrincipalCredentials, UserPassCredentials, AADTokenCredentials
Remove "auth_uri" attribute and parameter. This was unused.
Remove "state" attribute. This was unused.
Remove "client" attribute. This was exposed by mistake and should have been internal. No replacement is possible.
Remove "token_uri" attribute and parameter. Use "cloud_environment" and "tenant" to impact the login url now.
Remove token caching based on "keyring". Token caching should be implemented using ADAL now. This implies:
2018-07-03 Version 0.4.35 +++++++++++++++++++++++++
Bugfixes
2018-07-02 Version 0.4.34 +++++++++++++++++++++++++
Bugfixes
2018-06-21 Version 0.4.33 +++++++++++++++++++++++++
Bugfixes
Thanks to mjcaley for his contribution
2018-06-13 Version 0.4.32 +++++++++++++++++++++++++
Features
Bug fixes
2018-05-17 Version 0.4.31 +++++++++++++++++++++++++
Features
2018-05-16 Version 0.4.30 +++++++++++++++++++++++++
Features
2018-04-30 Version 0.4.29 +++++++++++++++++++++++++
Bugfixes
AADTokenCredentials
(was broken in 0.4.27)UserPasswordCredentials
correctly use the refreshToken, and not user/password to refresh the session (was broken in 0.4.27)keyring
, with minimal dependency 12.0.2 that fixes the installation problem on old Python2018-04-23 Version 0.4.28 +++++++++++++++++++++++++
Disclaimer
Do to some stability issues with "keyring" dependency that highly change from one system to another,
this package is no longer a dependency of "msrestazure".
If you were using the secured token cache of ServicePrincipalCredentials
and UserPassCredentials
,
the feature is still available, but you need to install manually "keyring". The functionnality will activate automatically.
2018-04-18 Version 0.4.27 +++++++++++++++++++++++++
Features
Update msrest dependency to 0.4.28
2018-04-17 Version 0.4.26 +++++++++++++++++++++++++
Bugfixes
2018-03-29 Version 0.4.25 +++++++++++++++++++++++++
Features
2018-03-26 Version 0.4.24 +++++++++++++++++++++++++
Bugfix
2018-03-19 Version 0.4.23 +++++++++++++++++++++++++
Bugfix
2018-02-27 Version 0.4.22 +++++++++++++++++++++++++
Bugfix
Disclaimer
From this version, MSIAuthentication will fail instantly if you try to get MSI token from a VM where the extension is not installed, or not yet ready. You need to do your own retry mechanism if you think the extension is provisioning and the call might succeed later. This behavior is consistent with other Azure SDK implementation of MSI scenarios.
2018-01-26 Version 0.4.21 +++++++++++++++++++++++++
2018-01-08 Version 0.4.20 +++++++++++++++++++++++++
Features
Thank you to demyanenko for his contribution.
2017-12-14 Version 0.4.19 +++++++++++++++++++++++++
Feature
Bugfixes
2017-12-01 Version 0.4.18 +++++++++++++++++++++++++
Bugfixes
2017-11-22 Version 0.4.17 +++++++++++++++++++++++++
Bugfixes
2017-10-31 Version 0.4.16 +++++++++++++++++++++++++
Bugfixes
2017-10-13 Version 0.4.15 +++++++++++++++++++++++++
Features
2017-09-11 Version 0.4.14 +++++++++++++++++++++++++
Features
Bug fix
Thank you to Hexadite-Omer for his contribution
2017-08-24 Version 0.4.13 +++++++++++++++++++++++++
Features
2017-08-23 Version 0.4.12 +++++++++++++++++++++++++
Features
Bugfixes
Breaking changes
2017-06-29 Version 0.4.11 +++++++++++++++++++++++++
Features
cloud_environment
to all Credentials objects (except AdalAuthentication)Note
Example:
.. code:: python
from msrestazure.azure_cloud import AZURE_CHINA_CLOUD from msrestazure.azure_active_directory import UserPassCredentials
credentials = UserPassCredentials( login, password, cloud_environment=AZURE_CHINA_CLOUD )
base_url
of SDK client can be pointed to "cloud_environment.endpoints.resource_manager" for basic scenario:
Example:
.. code:: python
from msrestazure.azure_cloud import AZURE_CHINA_CLOUD from msrestazure.azure_active_directory import UserPassCredentials from azure.mgmt.resource import ResourceManagementClient
credentials = UserPassCredentials( login, password, cloud_environment=AZURE_CHINA_CLOUD ) client = ResourceManagementClient( credentials, subscription_id, base_url=AZURE_CHINA_CLOUD.endpoints.resource_manager )
Azure Stack connection can be done:
.. code:: python
from msrestazure.azure_cloud import get_cloud_from_metadata_endpoint from msrestazure.azure_active_directory import UserPassCredentials from azure.mgmt.resource import ResourceManagementClient
mystack_cloud = get_cloud_from_metadata_endpoint("https://myazurestack-arm-endpoint.com") credentials = UserPassCredentials( login, password, cloud_environment=mystack_cloud ) client = ResourceManagementClient( credentials, subscription_id, base_url=mystack_cloud.endpoints.resource_manager )
2017-06-27 Version 0.4.10 +++++++++++++++++++++++++
Bugfixes
2017-06-19 Version 0.4.9 ++++++++++++++++++++++++
Features
Thank you to likel for his contribution
2017-05-31 Version 0.4.8 ++++++++++++++++++++++++
Bugfixes
Features
2017-01-23 Version 0.4.7 ++++++++++++++++++++++++
Bugfixes
accept_language
and generate_client_request_id
default values2016-12-12 Version 0.4.6 ++++++++++++++++++++++++
Bugfixes
Refactor Long Running Operation algorithm.
2016-11-30 Version 0.4.5 ++++++++++++++++++++++++
New features
2016-10-17 Version 0.4.4 ++++++++++++++++++++++++
Bugfixes
2016-09-14 Version 0.4.3 ++++++++++++++++++++++++
Bugfixes
2016-09-01 Version 0.4.2 ++++++++++++++++++++++++
Bugfixes
This version needs msrest >= 0.4.3
2016-06-08 Version 0.4.1 ++++++++++++++++++++++++
Bugfixes
2016-05-25 Version 0.4.0 ++++++++++++++++++++++++
Update msrest dependency to 0.4.0
Bugfixes
Behaviour changes
2016-04-26 Version 0.3.0 ++++++++++++++++++++++++
Update msrest dependency to 0.3.0
Bugfixes
Behaviour changes
2016-03-31 Version 0.2.1 ++++++++++++++++++++++++
Bugfixes
2016-03-25 Version 0.2.0 ++++++++++++++++++++++++
Update msrest dependency to 0.2.0
Behaviour change
2016-03-21 Version 0.1.2 ++++++++++++++++++++++++
Update msrest dependency to 0.1.3
Bugfixes
2016-03-04 Version 0.1.1 ++++++++++++++++++++++++
Bugfixes
2016-03-04 Version 0.1.0 ++++++++++++++++++++++++
Behaviour change
2016-02-29 Version 0.0.2 ++++++++++++++++++++++++
Bugfixes
2016-02-19 Version 0.0.1 ++++++++++++++++++++++++
FAQs
AutoRest swagger generator Python client runtime. Azure-specific module.
We found that msrestazure demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.