Azure Access Control: RBAC, Zero Trust, Defense in Depth and Managing Secrets With Key Vault
Role-Based Access Control (RBAC)
RBAC controls who can do what on which Azure resources. A role assignment has three parts:
- Who: user, group or app (security principal)
- What: a role definition (a set of allowed actions)
- Where: the scope (management group, subscription, resource group or resource)
Common Built-In Roles
| Role | Can do |
|---|---|
| Owner | Everything, including giving access to others |
| Contributor | Create and manage resources but cannot grant access |
| Reader | View only |
| User Access Administrator | Manage who has access |
- Access is inherited downward through scopes
- Follow least privilege: give only what is needed
- Prefer assigning roles to groups
- RBAC is for Azure resources; Entra roles manage directory tasks
Zero Trust
Old security trusted anything inside the company network. Zero Trust assumes nothing is safe by default.
| Principle | Meaning |
|---|---|
| Verify explicitly | Always check identity, device, location |
| Least privilege | Minimum access, only when needed |
| Assume breach | Design as if attackers may already be inside, limit damage |
Defense in Depth
Use many layers so one failure does not expose everything.
text
Physical security -> datacenter locks and guards
Identity and access -> MFA, RBAC
Perimeter -> DDoS protection
Network -> NSGs, firewalls, segmentation
Compute -> patching, endpoint protection
Application -> secure code, no exposed secrets
Data -> encryptio
Azure Key Vault
- Safe place for secrets (passwords, connection strings), keys (encryption keys) and certificates
- Apps read secrets from the vault instead of storing them in code
- Access controlled with RBAC and logged
Practice
- What are the three parts of a role assignment?
- Which role can create resources but not give access?
- Why keep secrets in Key Vault instead of in code?
Conclusion
RBAC grants access by role and scope, Zero Trust never assumes safety, defense in depth adds layers and Key Vault protects secrets.
Quick Summary: RBAC; roles; Zero Trust; defense in depth; Key Vault.

