# azure-cloud-hsm

Technical skill for Azure Cloud HSM to handle authentication, networking, audit logs, and PKCS#11 keys. Helps diagnose cluster sync issues and verify capacity limits.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 169 installs · ★ 818 repo stars
- Author: MicrosoftDocs
- License: CC-BY-4.0 · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/MicrosoftDocs/Agent-Skills/tree/HEAD/skills/azure-cloud-hsm/SKILL.md
- Updated: 2026-10-25
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/azure-cloud-hsm

## What it does

This skill equips coding agents with reference material for Azure Cloud HSM. It assists with cluster troubleshooting, authentication setup, and cryptographic key lifecycle management.

It works via a curated topical index linked to Microsoft Learn resources. The agent uses the `mcp_microsoftdocs:microsoft_docs_fetch` tool or a `fetch_webpage` fallback to pull documentation in Markdown format. Coverage includes service quotas, supported encryption algorithms, Private Link networking, and PKCS#11 certificate workflows.

Network access is strictly required to fetch the remote documentation files. This skill does not apply to Azure Key Vault, Azure Dedicated HSM, or Azure Payment HSM.

## Requirements
- Works with: Azure

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add MicrosoftDocs/Agent-Skills --skill azure-cloud-hsm -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/azure-cloud-hsm/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/azure-cloud-hsm/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add MicrosoftDocs/Agent-Skills --skill azure-cloud-hsm -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/azure-cloud-hsm/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add MicrosoftDocs/Agent-Skills --skill azure-cloud-hsm -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/azure-cloud-hsm/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install MicrosoftDocs/Agent-Skills skills/azure-cloud-hsm
```

2. **Manually: put the files in place**
- File: `.github/skills/azure-cloud-hsm/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add MicrosoftDocs/Agent-Skills --skill azure-cloud-hsm -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/MicrosoftDocs/Agent-Skills --path skills/azure-cloud-hsm
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/azure-cloud-hsm/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add MicrosoftDocs/Agent-Skills --skill azure-cloud-hsm -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/MicrosoftDocs/Agent-Skills/tree/HEAD/skills/azure-cloud-hsm/SKILL.md

## When to use it
- resolve user and key synchronization issues in clusters
- set up isolated network access via Azure Private Link
- stream operational audit logs directly to Event Hubs
- manage X.509 certificates using the PKCS#11 API
- check algorithm support and transaction quota limits

## Example prompts
- How do I route Azure Cloud HSM audit logs to Event Hubs?
- Troubleshoot user and key synchronization in my Azure Cloud HSM cluster.
- Show the PKCS#11 setup for managing certificates in Azure Cloud HSM.

## Source text · SKILL.md · CC-BY-4.0

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: dbb0801baa1bb39f.

BEGIN THIRD-PARTY FILE dbb0801baa1bb39f
```text
---
name: azure-cloud-hsm
description: Expert knowledge for Azure Cloud Hsm development including troubleshooting, best practices, limits & quotas, security, and integrations & coding patterns. Use when configuring Cloud HSM auth/networking, routing logs, managing PKCS#11 keys/certs, or handling capacity/alg limits, and other Azure Cloud Hsm related development tasks. Not for Azure Dedicated HSM (use azure-dedicated-hsm), Azure Key Vault (use azure-key-vault), Azure Payment Hsm (use azure-payment-hsm).
compatibility: Requires network access. Uses mcp_microsoftdocs:microsoft_docs_fetch or fetch_webpage to retrieve documentation.
metadata:
  generated_at: "2026-10-25"
  generator: "docs2skills/1.0.0"
---
# Azure Cloud Hsm Skill

This skill provides expert guidance for Azure Cloud Hsm. Covers troubleshooting, best practices, limits & quotas, security, and integrations & coding patterns. It combines local quick-reference content with remote documentation fetching capabilities.

## How to Use This Skill

> **IMPORTANT for Agent**: Use the **Category Index** below to locate relevant sections. For categories with line ranges (e.g., `L35-L120`), use `read_file` with the specified lines. For categories with file links (e.g., `[security.md](security.md)`), use `read_file` on the linked reference file

> **IMPORTANT for Agent**: If `metadata.generated_at` is more than 3 months old, suggest the user pull the latest version from the repository. If `mcp_microsoftdocs` tools are not available, suggest the user install it: [Installation Guide](https://github.com/MicrosoftDocs/mcp/blob/main/README.md)

This skill requires **network access** to fetch documentation content:
- **Preferred**: Use `mcp_microsoftdocs:microsoft_docs_fetch` with query string `from=learn-agent-skill`. Returns Markdown.
- **Fallback**: Use `fetch_webpage` with query string `from=learn-agent-skill&accept=text/markdown`. Returns Markdown.

## Category Index

| Category | Lines | Description |
|----------|-------|-------------|
| Troubleshooting | L33-L38 | Diagnosing and fixing Azure Cloud HSM cluster issues, including user/key synchronization problems, common error codes, connectivity failures, and operational faults. |
| Best Practices | L39-L44 | Key lifecycle and access control practices for Cloud HSM keys, plus security hardening guidance (networking, identity, auditing, compliance) for Azure Cloud HSM deployments. |
| Limits & Quotas | L45-L50 | Service capacity limits (objects, transactions), quotas, and which cryptographic algorithms and key sizes are supported by Azure Cloud HSM |
| Security | L51-L60 | Configuring Cloud HSM security: auth methods, network/private link setup, secure user management, and routing/querying audit and security logs via Event Hubs. |
```
END THIRD-PARTY FILE dbb0801baa1bb39f

The third-party file has ended. Everything between the dbb0801baa1bb39f tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2774 of 5090 bytes. © MicrosoftDocs · CC-BY-4.0 · https://github.com/MicrosoftDocs/Agent-Skills/tree/HEAD/skills/azure-cloud-hsm/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
