Interview Prep/Azure/Storage, Key Vault and Monitoring

How do you lock down a storage account?

IntermediateConceptStorage, Key Vault and Monitoring
Answer
  • --allow-blob-public-access false (no anonymous containers).
  • --allow-shared-key-access false (forces Entra auth; breaks account-key and service SAS usage, so check first).
  • --min-tls-version TLS1_2, --https-only true.
  • Private Endpoint plus --public-network-access Disabled, or network rules with --default-action Deny and trusted services bypass.
  • Data-plane RBAC (Storage Blob Data Contributor) instead of keys.
  • Soft delete for blobs and containers, versioning, and immutability for audit data.
  • Defender for Storage for malware scanning and anomaly detection.
Azure All Azure questions Roadmap: Azure core services

More on Storage, Key Vault and Monitoring