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-keyvault-secrets-rust.md

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

Key Vault Secrets — Rust SDK Quick Reference

Condensed from azure-keyvault-secrets-rust. Full patterns (versioning, update properties, tags, soft delete recovery) in the azure-keyvault-secrets-rust plugin skill if installed.

Install

cargo add azure_security_keyvault_secrets azure_identity

Quick Start

use azure_identity::DeveloperToolsCredential;
use azure_security_keyvault_secrets::SecretClient;
let credential = DeveloperToolsCredential::new(None)?;
let client = SecretClient::new("https://<vault>.vault.azure.net/", credential.clone(), None)?;

Best Practices

  • Use Entra ID auth — DeveloperToolsCredential for dev, ManagedIdentityCredential for production
  • Use into_model()? to deserialize responses
  • Use ResourceExt trait for extracting names from IDs
  • Handle soft delete — deleted secrets can be recovered within retention period
  • Set content type — helps identify secret format
  • Use tags for organizing and filtering secrets
  • Version secrets — new values create new versions automatically

Non-Obvious Patterns

use azure_security_keyvault_secrets::models::SetSecretParameters;
let params = SetSecretParameters { value: Some("secret-value".into()), ..Default::default() };
client.set_secret("name", params.try_into()?, None).await?.into_model()?;

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