# Manage Azure API Center with Python

API inventories become inconsistent when registration and governance steps vary. This skill provides focused Python SDK patterns for managing Azure API Center resources.

## Install

```bash
npx skillstore add sickn33/azure-mgmt-apicenter-py
```

## Metadata

- Status: approved
- Slug: sickn33-azure-mgmt-apicenter-py
- Skillstore revision: r2
- Version status: missing
- Tree hash: 3733968590f4d9e5677791b77d310c4640ce3e0c5dd26979ce076e743fb276d9
- Author: sickn33
- GitHub username: sickn33
- License: MIT
- Repository: https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/azure-mgmt-apicenter-py
- Ref: f9e2c34b4f19c7f3e6b0a1e93227b5f77cc12526
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network, env\_access
- Quality score: 78
- Quality tier: bronze
- Public page: https://skillstore.pages.dev/skills/sickn33-azure-mgmt-apicenter-py
- Manifest: https://skillstore.pages.dev/api/skills/sickn33-azure-mgmt-apicenter-py/manifest

## Capabilities

- Configures ApiCenterMgmtClient with DefaultAzureCredential and a subscription identifier.
- Creates and lists Azure API Center services.
- Registers APIs and creates lifecycle-aware API versions.
- Creates API definitions and imports inline OpenAPI specifications.
- Records environments and API deployments with endpoint metadata.
- Defines custom metadata schemas for governance classifications.

## Use Cases

- Establish an API inventory: Create an API Center, register APIs, and assign lifecycle stages for centralized discovery.
- Standardize API governance: Define metadata schemas and ownership information for consistent API classification.
- Track versions and deployments: Automate version, definition, environment, and deployment records through the Python SDK.

## Prompt Templates

### Configure the client

```
Show how to authenticate and create an Azure API Center Python client using my subscription environment variable.
```

### Register an API

```
Create a Python example that registers my REST API and adds a production lifecycle version.
```

### Record a deployment

```
Build a Python workflow that creates an API definition, environment, and active deployment record for my existing API.
```

### Design governed automation

```
Design an idempotent API Center workflow for multiple teams, including metadata schemas, version registration, specification imports, validation, and failure handling.
```

## Limitations

- Requires installed Azure SDK packages, an Azure subscription, valid credentials, and sufficient role permissions.
- Uses placeholders that must be replaced with valid resource names, identifiers, contacts, and URLs.
- Does not cover deletion, pagination, retries, exception handling, or role assignment.
- Examples require validation against the installed SDK and the target Azure environment.

## Best Practices

- Use separate workspaces to organize APIs by team or domain.
- Validate credentials, permissions, resource names, and SDK versions before applying changes.
- Use metadata, contacts, lifecycle stages, and deployment records consistently across the inventory.

## Anti Patterns

- Do not place credentials, tokens, or tenant secrets directly in prompts or source files.
- Do not run create-or-update operations before reviewing target subscription and resource identifiers.
- Do not treat placeholder URLs, contacts, or names as production values.

## Security Audit

- Audited at: 2026-07-23T20:58:47.456\+00:00
- Summary: All 39 static findings are false positives caused by Markdown formatting, sample URLs, and one scoped subscription identifier lookup. SKILL.md contains fixed Azure SDK documentation with no autonomous command execution, reconnaissance, credential exfiltration, or prompt injection.

## Stats

- Views: 96
- Downloads: 8
- Favorites: 0
- Popularity score: 0
