What are soft delete and purge protection in Key Vault?
IntermediateConceptStorage, Key Vault and Monitoring
Answer
Soft delete is always on: deleted vaults and objects are recoverable for 7–90 days (default 90). The vault name stays reserved during that time, which is why recreating a vault with the same name fails until you recover or purge.
Purge protection blocks purging until the retention period ends, even for admins. Mandatory for vaults holding customer-managed keys for storage, disks or SQL. Once enabled it cannot be disabled.
az keyvault list-deleted -o table
az keyvault recover -n kv-shop-prod
az keyvault purge -n kv-shop-dev # only if purge protection is off
More on Storage, Key Vault and Monitoring
What types of storage accounts and services exist?BeginnerWhat are the storage redundancy options?BeginnerExplain blob access tiers and lifecycle management.IntermediateWhat is a SAS token and what are the types?IntermediateHow do you lock down a storage account?IntermediateWhat protects blobs from accidental deletion?Intermediate