agentleFS
ENFEX-makerENFEX-maker/azure-worker-skillset/skills/devops/azure-security-keyvault-defender/SKILL.md

azure-security-keyvault-defender

Skill0 starsChanged 5 months agoMITView on GitHub

Use when securing, auditing, or troubleshooting Azure Key Vault, Defender for Cloud, Azure Policy, secure score, secrets hygiene, locks, or cloud security posture.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Never print Key Vault secret values.

    line 32
  2. Distinctive:

    Verify access/compliance after change.

    line 52

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Azure Security, Key Vault, Defender, and Policy

Overview

Covers Key Vault, Defender for Cloud, Azure Policy, locks, secret/certificate/key hygiene, secure score, recommendations, and security governance.

When to Use

Use for:

  • Key Vault access/networking issues
  • secret/certificate/key lifecycle review
  • Defender for Cloud recommendations
  • Azure Policy assignment/exemption/debugging
  • secure score and cloud posture review
  • resource locks and governance

Safety Rules

Never print Key Vault secret values. Never purge/delete vaults, rotate keys/secrets/certs, change access model/RBAC/policies, disable Defender/Policy, or remove locks without approval.

Discovery and Validation Commands

az keyvault list -o table
az keyvault show -g <rg> -n <vault> -o json
az keyvault secret list --vault-name <vault> --query "[].{name:name, enabled:attributes.enabled, updated:attributes.updated}" -o table
az policy assignment list -o table
az policy state summarize -o json
az security assessment list -o table
az lock list -o table

Operating Pattern

  1. Identify vault/security scope, access model, network settings, RBAC/policies, and compliance target.
  2. For Key Vault failures, check identity, data-plane role/policy, firewall/private endpoint/DNS, soft-delete/purge protection.
  3. For Policy/Defender, distinguish audit/deny/effect, initiative, assignment scope, exemptions, and remediation.
  4. Present risk and approval gate for any security posture change.
  5. Verify access/compliance after change.

Professional Runbooks

Load references/runbooks.md for production-oriented scenario runbooks. Each runbook includes preflight commands, diagnosis path, safe action gate, verification, and documentation lookup query. For risky operations, use the master azure-worker safety baseline before executing changes.

Common Pitfalls

  • Key Vault management plane access does not imply secret data-plane access.
  • RBAC vs access policy models behave differently.
  • Private endpoint plus firewall requires DNS/client network path.
  • Policy deny effects can break deployments unexpectedly.
  • Removing locks can allow accidental deletes.

Verification Checklist

  • Azure tenant/subscription/scope confirmed.
  • Relevant service/resource state discovered with read-only commands.
  • Risky or billable changes highlighted.
  • Dry-run/plan/validation used where available.
  • User approval obtained before mutations.
  • Post-change verification completed.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.