Microsoft Azure Securitydevops Management Client Library for Python
Project description
Microsoft Azure SDK for Python
This is the Microsoft Azure Securitydevops Management Client Library. This package has been tested with Python 3.7+. For a more complete view of Azure libraries, see the azure sdk python release.
Disclaimer
Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691
Getting started
Prerequisites
- Python 3.7+ is required to use this package.
- Azure subscription
Install the package
pip install azure-mgmt-securitydevops
pip install azure-identity
Authentication
By default, Azure Active Directory token authentication depends on correct configure of following environment variables.
AZURE_CLIENT_ID
for Azure client ID.AZURE_TENANT_ID
for Azure tenant ID.AZURE_CLIENT_SECRET
for Azure client secret.
In addition, Azure subscription ID can be configured via environment variable AZURE_SUBSCRIPTION_ID
.
With above configuration, client can be authenticated by following code:
from azure.identity import DefaultAzureCredential
from azure.mgmt.securitydevops import MicrosoftSecurityDevOps
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = MicrosoftSecurityDevOps(credential=DefaultAzureCredential(), subscription_id=sub_id)
Examples
Code samples for this package can be found at Securitydevops Management on docs.microsoft.com and Samples Repo
Troubleshooting
Next steps
Provide Feedback
If you encounter any bugs or have suggestions, please file an issue in the Issues section of the project.
Release History
1.0.0b2 (2022-12-29)
Other Changes
- Added generated samples in github repo
- Drop support for python<3.7.0
1.0.0b1 (2022-10-13)
- Initial Release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file azure-mgmt-securitydevops-1.0.0b2.zip
.
File metadata
- Download URL: azure-mgmt-securitydevops-1.0.0b2.zip
- Upload date:
- Size: 129.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.28.1 setuptools/58.1.0 requests-toolbelt/0.10.1 tqdm/4.64.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 684e8d321310cc33692367f4e833250253d4901dd78874f10577622810736206 |
|
MD5 | 8da6137dc217f076d863c60ecfd03a62 |
|
BLAKE2b-256 | 55abaf4ec80fe94766d77e79ae00f6331f76cb634ca8b71283c4b0e865b5ff28 |
File details
Details for the file azure_mgmt_securitydevops-1.0.0b2-py3-none-any.whl
.
File metadata
- Download URL: azure_mgmt_securitydevops-1.0.0b2-py3-none-any.whl
- Upload date:
- Size: 120.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.28.1 setuptools/58.1.0 requests-toolbelt/0.10.1 tqdm/4.64.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f4bb3b23171e24e3df6153dfc5700f461da5a37ef07229952a33cf08370b954 |
|
MD5 | 984e38dcfe696eba3d578a7dbfda7d39 |
|
BLAKE2b-256 | b9d8414cc7fafdc44f57bd2513a64ceb45733afb52264c1bf58f50411d3e4182 |