Dev & Engineering ✓ Microsoft · Official

Azure API Management for Python

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

54/ 100
Use with care

Useful, but reliability, evidence or controls still have material gaps.

See how it was scored ↓
Works as-is in
Codex · Claude Code
Stars
★ 2.7k
Last updated
3mo ago
License
MIT
azure-api-managementpython-sdkapi-gatewayapi-policy
+2managed-identityopenapi

What does this skill do, and when should you 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.

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

How do you install this skill?

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.
Before you start
Your agent needs
  • Shell / CLI
  • Network access
Install first
  • Python package azure-mgmt-apimanagement
  • Python package azure-identity

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.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/.github/plugins/azure-sdk-python/skills/azure-mgmt-apimanagement-py" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

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.

What are this skill's strengths and limitations?

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 does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
Azure API Management for Python this page ✓ Microsoft · Official 54 · Use with care ★ 2.7k 3mo ago MIT
Azure Identity for Python ✓ Microsoft · Official 60 · Recommended ★ 2.7k 3mo ago MIT
Azure Bot Service Python Manager ✓ Microsoft · Official 52 · Use with care ★ 2.7k 3mo ago MIT
Azure API Center Python Manager ✓ Microsoft · Official 48 · Use with care ★ 2.7k 3mo ago MIT
Azure Identity for TypeScript ✓ Microsoft · Official 57 · Use with care ★ 2.7k 3mo ago MIT

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Use with care
54/ 100 5-point scale 2.7 / 5
1Trust16 / 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.

2Reliability8 / 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.

3Adaptability10 / 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.

4Convention10 / 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.

5Effectiveness6 / 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.

6Verifiability4 / 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.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a Review evidence[1][2][3][4][5][6][7][8][9][10][11][12]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

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.

★ 2.7k FS 60 Recommended 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Bot Service Python Manager

Create, manage, and configure Azure Bot Service resources and channels from Python.

★ 2.7k FS 52 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure API Center Python Manager

Manage Azure API inventories, metadata, and governance with Python.

★ 2.7k FS 48 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Identity for TypeScript

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

★ 2.7k FS 57 Use with care 3mo ago
Automation & Ops ✓ Microsoft · Official

Azure AI Gateway Governance

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

★ 2.7k FS 55 Use with care 3mo ago
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.

★ 2.7k FS 55 Use with care 3mo ago
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.

★ 2.7k FS 54 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI Content Safety for Python

Guides Python applications in detecting harmful text and images and enforcing custom blocklists.

★ 2.7k FS 53 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure App Configuration for Python

Centralize Python application settings, feature flags, and dynamic configuration in Azure.

★ 2.7k FS 53 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Container Registry for Python

Manage Azure container images, artifacts, and repositories from Python.

★ 2.7k FS 53 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Monitor Custom Log Ingestion

Guides Python agents to send custom logs to Log Analytics through the Logs Ingestion API.

★ 2.7k FS 53 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Identity for .NET

Guides .NET applications in authenticating Azure SDK clients with Microsoft Entra ID.

★ 2.7k FS 50 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Web PubSub for Python

Build Azure WebSocket messaging and publish-subscribe workflows for Python applications.

★ 2.7k FS 50 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs for Python

A practical guide to high-throughput event ingestion, consumption, and checkpointing in Python.

★ 2.7k FS 49 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure API Management for .NET

Provision and govern Azure API Management resources from .NET.

★ 2.7k FS 48 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Monitor Log Ingestion for Java

Guides Java applications in sending structured custom logs to Azure Monitor through DCRs.

★ 2.7k FS 48 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure AI Persistent Agents for Java

Guides Java developers through building and managing Azure AI agents with persistent threads, messages, runs, and tools.

★ 2.7k FS 47 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Microsoft Foundry Python Projects Skill

Gives coding agents dependable patterns for building Foundry AI applications with the Azure AI Projects Python SDK.

★ 2.7k FS 47 Use with care 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Identity for Rust

Configure Microsoft Entra ID authentication for Azure SDK clients written in Rust.

★ 2.7k FS 45 Not recommended 3mo ago
Dev & Engineering ✓ Microsoft · Official

Azure Service Bus for Python

Practical Python guidance for reliable Azure Service Bus queues and publish-subscribe messaging.

★ 2.7k FS 45 Not recommended 3mo ago

Related skills