azure-sdk-for-python
by Azure
The Azure SDK for Python provides a comprehensive set of libraries to interact with and manage Azure cloud services programmatically using Python.
This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
Primary Use Case
This SDK is primarily used by developers and cloud engineers to build, configure, and manage Azure resources programmatically within Python applications. It supports tasks such as authentication, secrets management, and cloud configuration scanning, enabling seamless integration with Azure services for automation and cloud security.
- Modular libraries for individual Azure services located in the /sdk directory
- Support for both new GA and preview client libraries
- Management libraries following Azure SDK Design Guidelines
- Shared core functionalities like retries, logging, transport, and authentication in azure-core
- Supports Python 3.9 and later
- Comprehensive authentication systems including Azure Identity library
- Error handling and distributed tracing capabilities
- Versioned and public developer documentation available
Installation
- Ensure Python 3.9 or later is installed
- Identify the specific Azure service library you want to use in the /sdk directory
- Install the desired package via pip, e.g., pip install azure-<service-name>
- Refer to the specific library's README for detailed usage instructions
Usage
>_ pip install azure-<service-name>Installs the specific Azure service client library for Python
>_ from azure.identity import DefaultAzureCredentialImports the Azure Identity library to handle authentication
>_ from azure.storage.blob import BlobServiceClientImports the Blob Storage client to interact with Azure Blob Storage
- Integrate the SDK with automated cloud security posture management tools to continuously scan and remediate misconfigurations.
- Leverage the Azure Identity library within the SDK to enforce strong authentication and secrets management in custom cloud applications.
- Use the SDK to build custom detection scripts that monitor Azure resources for anomalous changes or suspicious configurations.
- Combine SDK capabilities with Azure Sentinel for enhanced cloud threat detection and response automation.
- Develop purple team exercises that simulate credential theft and lateral movement using SDK-driven automation to validate cloud security controls.
Docs Take 2 Hours. AI Takes 10 Seconds.
Ask anything about azure-sdk-for-python. Installation? Config? Troubleshooting? Get answers trained on real docs and GitHub issues—not generic ChatGPT fluff.
3 free chats per tool • Instant responses • No credit card
Related Tools
ProxmoxVE
community-scripts/ProxmoxVE
Proxmox VE Helper-Scripts (Community Edition)
prowler
prowler-cloud/prowler
Prowler is the world’s most widely used open-source cloud security platform that automates security and compliance across any cloud environment.

aws-cdk
aws/aws-cdk
The AWS Cloud Development Kit is a framework for defining cloud infrastructure in code
my-arsenal-of-aws-security-tools
toniblyx/my-arsenal-of-aws-security-tools
List of open source tools for AWS security: defensive, offensive, auditing, DFIR, etc.

keda
kedacore/keda
KEDA is a Kubernetes-based Event Driven Autoscaling component. It provides event driven scale for any container running in Kubernetes

DevOps-Guide
Tikam02/DevOps-Guide
DevOps Guide - Development to Production all configurations with basic notes to debug efficiently.
