Dev & Engineering ✓ Microsoft · Official azure-api-managementpython-sdkapi-gatewayapi-policymanaged-identityopenapi

Azure API Management for Python

Gives coding agents practical Python SDK patterns for managing Azure API Management services, APIs, products, subscriptions, and policies.

FollowSkills review · FSRS-2.0
Not recommended
54/ 100 5-point scale 2.7 / 5
Trust16 / 25 · 3.2/5

The skill recommends DefaultAzureCredential, constraining production credential chains, avoiding connection strings and API keys, and using environment variables. However, service, subscription, user, policy, backend, and other external mutations lack user confirmation, least-privilege RBAC guidance, rollback, or deletion paths; one example prints a subscription primary key and examples include plaintext secrets and an HTTP backend, so points were deducted.

Reliability8 / 20 · 2.0/5

The examples cover authentication, synchronous clients, long-running operations, and several APIM operation groups with generally consistent instructions. They lack exception handling, pagination, retry guidance, idempotency validation, and diagnosable failure feedback; the references explicitly require rechecking current API names, so the score is conservative under the static cap.

Adaptability10 / 15 · 3.3/5

The name, description, and trigger terms are clear, and the skill covers service, API, product, subscription, policy, secret, backend, and user scenarios. It does not clearly define non-fit boundaries, permission prerequisites, async implementations, or input validation, and it provides no mainland-China network or regional reachability guidance, so points were deducted.

Convention10 / 15 · 3.3/5

The skill has YAML metadata, an MIT license, a version, installation and environment-variable notes, layered reference files, an operation-group table, and production checklists. It lacks a changelog, explicit maintenance owner/update path, dependency version constraints, FAQ, and complete cleanup examples, so points were deducted.

Effectiveness6 / 15 · 2.0/5

The skill provides broadly useful Python snippets for common APIM management tasks and many are directly adaptable. However, the examples assume an already-created client, resource group, and permissions, and omit end-to-end runnable setup, deletion/rollback, error handling, and validation steps; substantial integration and review remain necessary.

Verifiability4 / 10 · 2.0/5

The pinned repository source, reference files, MIT license, and general CI/test infrastructure provide some auditability. There are no skill-specific acceptance criteria, committed tests, or third-party execution results, so the assessment is based mainly on static text and is scored conservatively under the static cap.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a
Before you use it
  • All create and update operations, including policies, can cause real Azure resource or configuration changes; confirm the target subscription, resource group, permissions, and scope before execution and prepare a deletion or recovery plan.
  • Do not print or hard-code subscription keys, API keys, or other secrets; use secure secret storage and least-privilege access.
  • Verify SDK method names, model fields, and enums against the official documentation for the target package version; no skill-specific executable test evidence is provided.
  • Importing an API from a URL and configuring a backend involve external data flows; review the URL, TLS, payload, and network reachability.
See the full review method →

What it does & when to use it

This skill is for developers using the azure-mgmt-apimanagement Python SDK with Azure API Management. It covers service creation, OpenAPI import, API listing, product and subscription management, policy configuration, and selected backend, named value, and user operations. Its examples recommend DefaultAzureCredential and deterministic client cleanup through context managers, with an Azure subscription ID required. It fits Python projects automating API gateway administration, but it does not provide a complete application deployment workflow or examples for other languages.

Installs the azure-mgmt-apimanagement and azure-identity packages; reads AZURE_SUBSCRIPTION_ID and, when applicable, AZURE_TOKEN_CREDENTIALS; uses ApiManagementClient to call Azure APIs; creates or updates APIM services, imports OpenAPI definitions from inline JSON or a URL, lists APIs, creates products and subscriptions, associates APIs with products, applies XML API policies, and creates named values, backends, and users. The examples print resource names, display names, or a subscription primary key.

  1. A Python Azure developer needs to provision or update an APIM service and wants a ready SDK client pattern.
  2. An API team needs to import an OpenAPI document from JSON content or a URL into an existing APIM service.
  3. An API platform team needs to package APIs into products and create scoped subscriptions for consumers.
  4. A developer needs to apply rate limits and custom headers through an APIM API policy.
  5. A production team wants to access APIM with DefaultAzureCredential or managed identity while cleaning up clients and credentials deterministically.

Pros & cons

Pros
  • Covers concrete APIM operations across services, APIs, products, subscriptions, policies, backends, named values, and users.
  • Includes both inline OpenAPI JSON and OpenAPI URL import examples.
  • Provides explicit guidance on DefaultAzureCredential, production credential-chain constraints, and client context managers.
  • Explains consistent sync-versus-async usage and resource cleanup.
Limitations
  • It is specific to the Python SDK and does not cover other language clients.
  • Examples require an Azure subscription and suitable permissions; the source does not provide an RBAC role or permission matrix.
  • The source does not show dedicated test coverage for this individual skill.
  • Application Insights and API versioning are recommended, but no implementation examples are provided for them.

How to install

For the collection, run npx skills add microsoft/skills in the supported agent workflow and select this skill. Alternatively, clone the repository and copy .github/plugins/azure-sdk-python/skills/azure-mgmt-apimanagement-py into the agent's skill directory. The README does not document a standalone installer for this individual skill.

How to use

Ask an installed coding agent with a trigger such as: Use azure-mgmt-apimanagement and ApiManagementClient to import an OpenAPI URL into an existing APIM service and apply a rate-limit policy. Before running generated Python code, install azure-mgmt-apimanagement and azure-identity, set AZURE_SUBSCRIPTION_ID, and configure AZURE_TOKEN_CREDENTIALS when using DefaultAzureCredential as specified by the skill.

FAQ

Does this skill require an Azure subscription?
Yes. The examples require `AZURE_SUBSCRIPTION_ID` and Azure credentials to access API Management.
Which authentication method does it recommend?
It recommends DefaultAzureCredential, with `AZURE_TOKEN_CREDENTIALS=prod` or a specific credential in production. ManagedIdentityCredential is also shown as a direct option.
Can it manage API keys or secrets?
It can create APIM named values and mark them as secrets. The source does not document integration with an external secret vault.
Does it deploy a complete Azure application?
No. Its scope is Python SDK management of APIM resources and configuration; the source does not provide a complete application or infrastructure deployment workflow.

More skills from this repository

All from microsoft/agent-skills

Dev & Engineering ✓ Microsoft · Official

Azure Identity for Python

A practical skill for securing Python Azure applications with Microsoft Entra ID credentials.

Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs Java Skill

Build production-oriented Java event streaming applications on Azure Event Hubs.

Dev & Engineering ✓ Microsoft · Official

Azure Tables for Python

A practical guide to building authenticated Azure Tables applications with Python entity CRUD, queries, and partition-scoped batch operations.

Dev & Engineering ✓ Microsoft · Official

Azure Identity for TypeScript

Configure secure, flexible Microsoft Entra ID authentication for TypeScript Azure applications.

Automation & Ops ✓ Microsoft · Official

Azure Reliability Advisor

Assess and improve reliability for Azure Functions and App Service.

Dev & Engineering ✓ Microsoft · Official

Azure Cloud Architect

Guides coding agents through production-grade Azure architecture design and review using Azure Architecture Center practices.

Dev & Engineering ✓ Microsoft · Official

Azure AI Text Analytics for Python

Guides Python developers through Azure-powered text analysis and NLP workflows.

Automation & Ops ✓ Microsoft · Official

Azure Resource Architecture Visualizer

Analyze Azure resource groups and turn their dependencies into detailed Mermaid architecture diagrams.

Dev & Engineering ✓ Microsoft · Official

Azure Maps for .NET

Build .NET location features for search, routing, maps, geolocation, and weather.

Dev & Engineering ✓ Microsoft · Official

Azure AI Vision Image Analysis

Guides Python coding agents in implementing Azure AI Vision image understanding.

Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for Python

Guides secure, production-minded Blob Storage operations in Python.

Dev & Engineering ✓ Microsoft · Official

Azure Queue Storage for Python

Gives coding agents reliable Python patterns for secure Azure Queue Storage messaging and asynchronous task processing.

Automation & Ops ✓ Microsoft · Official

Azure AI Gateway Governance

Use Azure API Management to govern traffic across AI models, MCP tools, and agents.

Automation & Ops ✓ Microsoft · Official

AKS Automatic Readiness

Assess Kubernetes workloads for AKS Automatic compatibility and identify migration blockers before you switch.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB ARM for .NET

Provision and manage Azure Cosmos DB resources from .NET through ARM.

Dev & Engineering ✓ Microsoft · Official

Azure Playwright Workspace Manager

Provision and manage Microsoft Playwright Testing workspaces with .NET and Azure Resource Manager.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB for Python

A practical guide for building reliable Python applications on Azure Cosmos DB’s NoSQL API.

Dev & Engineering ✓ Microsoft · Official

Azure Key Vault SDK for Python

Gives Python coding agents practical guidance for securely managing Azure Key Vault secrets, keys, and certificates.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Python

Generate Python code for querying Azure Monitor logs and metrics.

Dev & Engineering ✓ Microsoft · Official

Azure Queue Storage for Rust

A focused guide for building secure Azure Queue Storage messaging workflows in Rust.

Related skills