Azure Access Control: RBAC, Zero Trust, Defense in Depth and Managing Secrets With Key Vault

Microsoft Azure Fundamentals AZ 900 50 min min read Updated: Nov 17, 2026 Beginner
Azure Access Control: RBAC, Zero Trust, Defense in Depth and Managing Secrets With Key Vault
Beginner Topic 2 of 3

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

RoleCan do
OwnerEverything, including giving access to others
ContributorCreate and manage resources but cannot grant access
ReaderView only
User Access AdministratorManage 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.

PrincipleMeaning
Verify explicitlyAlways check identity, device, location
Least privilegeMinimum access, only when needed
Assume breachDesign 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

  1. What are the three parts of a role assignment?
  2. Which role can create resources but not give access?
  3. 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.

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators