All skills
microsoft avatar

/azure-compliance

@b283057
by microsoftmicrosoft/skills3.1k stars
351

Run Azure compliance and security audits with azqr plus Key Vault expiration checks. Covers best-practice assessment, resource review, policy/compliance validation, and security posture checks. WHEN: compliance scan, security audit, BEFORE running azqr (compliance cli tool), Azure best practices, Key Vault expiration check, expired certificates, expiring secrets, orphaned resources, compliance assessment.

Use this Skill: https://skilld.dev/gh/microsoft/skills/azure-compliance

This session only. Nothing lands on disk.

referencessdkazure-security-keyvault-keys-dotnet.md

≈293 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Key Vault Keys — .NET SDK Quick Reference

Condensed from azure-security-keyvault-keys-dotnet. Full patterns (crypto operations, key rotation, backup/restore, HSM, KeyResolver) in the azure-security-keyvault-keys-dotnet plugin skill if installed.

Install

dotnet add package Azure.Security.KeyVault.Keys dotnet add package Azure.Identity

Quick Start

using Azure.Security.KeyVault.Keys;
using Azure.Identity;
var client = new KeyClient(new Uri("https://<vault>.vault.azure.net"), new DefaultAzureCredential());

Best Practices

  • Use DefaultAzureCredential for local development only. In production, use ManagedIdentityCredential — see auth-best-practices.md
  • Enable soft-delete — protect against accidental deletion
  • Use HSM-backed keys — set HardwareProtected = true for sensitive keys
  • Implement key rotation — use automatic rotation policies
  • Limit key operations — only enable required KeyOperations
  • Set expiration dates — always set ExpiresOn for keys
  • Use specific versions — pin to versions in production
  • Cache CryptographyClient — reuse for multiple operations

Source: SKILL.md on GitHub

1 warning15d4 checks · Risk SAFE
  • Gen Agent Trust Hub15d

    This skill provides a comprehensive framework for Azure compliance and security auditing, utilizing specialized tools and remediation templates. It adheres to industry-standard best practices by promoting managed identities and least-privilege access across Azure environments.

  • Socket15d

    No alerts

  • Snyk15d

    Risk: LOW · No issues

  • Runlayer7mo

    15/15 files flagged

Signed by skilld at b283057. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 3 weeks ago
metadata
{
  "author": "Microsoft",
  "version": "1.2.2"
}

README badge

README badge for microsoft/skills/azure-compliance