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.
In this repository14 other files it gives its agents.
- AGENTS.mdAGENTS.md
- azure-ai-openai-mlSkill
- azure-aksSkill
- azure-app-service-functionsSkill
- azure-computeSkill
- azure-cost-finopsSkill
- azure-databasesSkill
- azure-devops-github-actionsSkill
- azure-iac-bicep-terraformSkill
- azure-identity-rbacSkill
- azure-monitoring-observabilitySkill
- azure-networkingSkill
- azure-storageSkill
- azure-workerSkill
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
- Very specific: line 32
Never print Key Vault secret values.
- Distinctive: line 52
Verify access/compliance after change.
≈ “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.
Files
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 tableOperating Pattern
- Identify vault/security scope, access model, network settings, RBAC/policies, and compliance target.
- For Key Vault failures, check identity, data-plane role/policy, firewall/private endpoint/DNS, soft-delete/purge protection.
- For Policy/Defender, distinguish audit/deny/effect, initiative, assignment scope, exemptions, and remediation.
- Present risk and approval gate for any security posture change.
- 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.
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
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.

