Using azure-sdk-for-python with azure.com

Python integration

✓ Official SDK

Install

pip install azure-sdk-for-python

Quick start

import azure-sdk-for-python

client = azure_sdk_for_python.Client("YOUR_API_KEY")
Get Instance Metadata for the Virtual Machine.
curl \
  /instance
Get information about AAD Metadata
curl \
  /identity/info
Get Attested Data for the Virtual Machine.
curl \
  /attested/document
SDK on GitHub 📄 API Docs
SDK
azure-sdk-for-python
Python
API
azure.com
azure.com:imds

At a glance

Language Python
Endpoints4
✓ Official